commit 018b75ffe6822b9073092e1e5c07a7e1ee55f7c2 (patch)
parent 7bb8c2de96641e3123d39fd6c5268c9a16222906
Author: Alexander Karle <akarle@umass.edu>
Date: Fri, 2 Nov 2018 17:14:30 -0400
vim: Bigger gvim default on open, map to yank entire file
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/vim/gvimrc b/vim/gvimrc
@@ -10,3 +10,7 @@ set printfont=Consolas:h11
set guioptions= " Don't show guioptions (toolbar, scrollbar,..)
set guifont=Consolas:h11 " Font that doesn't hurt my eyes
set guicursor=a:blinkon0 " Don't blink the cursor (not my thang)
+
+" Bigger size on startup
+set lines=50
+set columns=100
diff --git a/vim/vimrc b/vim/vimrc
@@ -252,6 +252,9 @@ nnoremap <silent> <leader>G :call GitGrepWordUnderCursor()<CR>:copen<CR>
" Toggle whitespace
nnoremap <leader>w :set list!<CR>
+
+" Yank entire file
+nnoremap <leader>y gg"*yG<C-O><C-O>
" }}}
" COMMANDS {{{