9336c053ff7a

More
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 18 Apr 2019 14:46:57 -0400
parents 7d4add588cc3
children 994750f7b6dd
branches/tags (none)
files ffignore fish/config.fish stumpwmrc vim/vimrc

Changes

--- a/ffignore	Tue Mar 26 12:07:18 2019 -0400
+++ b/ffignore	Thu Apr 18 14:46:57 2019 -0400
@@ -5,6 +5,7 @@
 UnityTempFile
 .m2
 node_modules
+fake-gopath
 
 syntax:regex
 \btags$
--- a/fish/config.fish	Tue Mar 26 12:07:18 2019 -0400
+++ b/fish/config.fish	Thu Apr 18 14:46:57 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	Tue Mar 26 12:07:18 2019 -0400
+++ b/stumpwmrc	Thu Apr 18 14:46:57 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	Tue Mar 26 12:07:18 2019 -0400
+++ b/vim/vimrc	Thu Apr 18 14:46:57 2019 -0400
@@ -2185,6 +2185,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>'],
@@ -2207,7 +2208,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>