Correct wiki mappings.

This commit is contained in:
Sage Vaillancourt 2022-01-31 19:46:19 -05:00
parent bcc462e5d2
commit 74e9c24a40
1 changed files with 7 additions and 1 deletions

8
.vimrc
View File

@ -23,7 +23,13 @@ else
endif
let mapleader=" "
nnoremap <Leader>w yiwq:PI!fd -x cat <Bar> fzf -q <CR>
"nnoremap <Leader>w yiwq:PIe `~/.shell_aliases ws <Esc>
"nnoremap <Leader>w yiw:let srr_back = &srr <BAR> set srr=><CR>q:PIr! /home/sage/.shell_aliases wf <Esc>
" TODO Check if file needs saving
" TODO Set and unset srr from within map
set srr=>
nnoremap <Leader>w yiw:w<CR>q:PIr! /home/sage/.shell_aliases wf <CR>yyuq:PIe <ESC><CR>
nnoremap <Leader>s yiw:w<CR>q:PIr! /home/sage/.shell_aliases wf <CR>yyuq:PIvsp <ESC><CR>
" " Auto open NERDTree but focus editing window
" autocmd VimEnter * NERDTree