aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-04-20 11:17:23 +0100
committerMatthew Lemon <y@yulqen.org>2023-04-20 11:17:23 +0100
commitbae93cb0b00bd7dc309c20996840e9e625fea2e0 (patch)
treeb30735d65a4435c087f428140ca8d107e5300340 /vim/vimrc
parent729638095e670821af5c7c63ff4335a369a2e7db (diff)
Attemptes to remap :W
Diffstat (limited to '')
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 742524f..e587a9d 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -402,6 +402,9 @@ nnoremap <leader>Y :let @+=printf("[%s](%s)", expand('%:t'), "file://" . expand(
imap <C-x><C-f> <plug>(fzf-complete-file-ag)
imap <C-x><C-l> <plug>(fzf-complete-line)
+" remap :W to :w - :W was previous Windows in fzf
+cnoreabbrev W w
+
" ghetto note system
" Go to index of notes
nnoremap <leader>ni :e $NOTES_DIR/index.md<CR>:cd $NOTES_DIR<CR>