Move function out of maps.vim to vimrc
Does not directly create a mapping and should stay somewhere else than the mapping file.
This commit is contained in:
parent
99df4a278c
commit
a054b717d2
2 changed files with 9 additions and 17 deletions
|
|
@ -517,6 +517,15 @@ call matchadd('ColorColumn', '\%81v', 100)
|
|||
" the directories it is supposed to
|
||||
au BufNewFile,BufRead /dev/shm/gopass.* setlocal noswapfile nobackup noundofile
|
||||
|
||||
function! SearchWiki()
|
||||
let l:curpath=getcwd()
|
||||
:execute(":cd " . g:wiki_root)
|
||||
let l:texttofind=input("Search in Notes: ")
|
||||
:execute(":CtrlSF " . l:texttofind)
|
||||
:CtrlSFFocus
|
||||
:execute(":cd " . l:curpath)
|
||||
endfunction
|
||||
|
||||
" }}}
|
||||
" KEYBINDINGS {{{
|
||||
" ================================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue