7452a4fd1499

Merge.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 20 Apr 2019 13:18:03 -0400
parents aa1cc443308a (current diff) 994750f7b6dd (diff)
children 4a5c3d4626d4
branches/tags (none)
files vim/vimrc

Changes

--- a/ffignore	Sat Apr 20 13:17:59 2019 -0400
+++ b/ffignore	Sat Apr 20 13:18:03 2019 -0400
@@ -5,6 +5,7 @@
 UnityTempFile
 .m2
 node_modules
+fake-gopath
 
 syntax:regex
 \btags$
--- a/fish/config.fish	Sat Apr 20 13:17:59 2019 -0400
+++ b/fish/config.fish	Sat Apr 20 13:18:03 2019 -0400
@@ -21,7 +21,7 @@
 alias p pass
 alias pw pass-work
 
-complete -c pass-work -w pass
+complete -c s -w ssh
 
 # I give up
 alias :q exit
@@ -31,6 +31,7 @@
 # Abbreviations {{{
 
 abbr ai="sudo apt install"
+abbr sc="sudo systemctl"
 
 # }}}
 # Completions {{{
--- a/stumpwmrc	Sat Apr 20 13:17:59 2019 -0400
+++ b/stumpwmrc	Sat Apr 20 13:18:03 2019 -0400
@@ -175,27 +175,23 @@
   (loop with laptop = "eDP1"
         with extern = "DP1"
         for (output commands) in `((,extern ("--off"))
-                                   ;; (,rhs-name ("--auto"))
-                                   ;; (,rhs-name ("--primary"))
                                    (,laptop ("--off"))
-                                   (,laptop ("--auto"))
-                                   ;; (,laptop ("--left-of" ,rhs-name))
-                                   ;; (,laptop ("--rotate" "left"))
-                                   )
+
+                                   (,extern ("--auto"))
+                                   (,extern ("--primary")))
         do (uiop:run-program `("xrandr" "--output" ,output ,@commands))))
 
 (defcommand screen-multi () ()
   (loop with laptop = "eDP1"
         with extern = "DP1"
-        for (output commands) in `((,laptop ("--off"))
-                                   (,extern ("--off"))
-                                   ;; (,laptop ("--auto"))
+        for (output commands) in `((,extern ("--off"))
+                                   (,laptop ("--off"))
+
                                    (,extern ("--auto"))
                                    (,extern ("--primary"))
-                                   ;; (,extern ("--mode" "2560x1440"))
-                                   ;; (,extern ("--left-of" ,laptop))
-                                   ;; (,extern ("--right-of" ,laptop))
-                                   )
+
+                                   (,laptop ("--auto"))
+                                   (,laptop ("--left-of" ,extern)))
         do (pr (uiop:run-program `("xrandr" "--output" ,output ,@commands)))))
 
 (defcommand vlime () ()
--- a/vim/vimrc	Sat Apr 20 13:17:59 2019 -0400
+++ b/vim/vimrc	Sat Apr 20 13:18:03 2019 -0400
@@ -2251,6 +2251,7 @@
 let g:ctrlp_map = '<leader>,'
 nnoremap <leader>. :CtrlPTag<cr>
 nnoremap <leader>b :CtrlPBuffer<cr>
+nnoremap <leader><lt> :CtrlP<space>
 
 let g:ctrlp_prompt_mappings = {
 \ 'PrtSelectMove("j")':   ['<c-j>', '<down>', '<s-tab>'],
@@ -2273,7 +2274,7 @@
 " Fugitive {{{
 
 nnoremap <leader>gd :Gdiff<cr>
-nnoremap <leader>gs :Gstatus<cr>:15wincmd_<cr>
+nnoremap <leader>gs :Gstatus<cr>:15wincmd_<cr>:setlocal winfixheight<cr>
 nnoremap <leader>gw :Gwrite<cr>
 nnoremap <leader>ga :Gadd<cr>
 nnoremap <leader>gb :Gblame<cr>