|
|
@ -4,13 +4,13 @@ setlocal comments+=b:* |
|
|
|
setlocal foldlevel=3 |
|
|
|
setlocal formatoptions=cro |
|
|
|
|
|
|
|
command! SearchOpen :call notecrate#base#search_open() |
|
|
|
command! SearchInsertLink :call notecrate#base#search_insert_link() |
|
|
|
command! UpdateBacklinks :call notecrate#base#update_backlinks() |
|
|
|
command! NewNote :call notecrate#base#new_note_from_prompt() |
|
|
|
command! DeleteNote :call notecrate#base#delete_note() |
|
|
|
command! Convert :call notecrate#base#convert() |
|
|
|
command! Save :call notecrate#base#save() |
|
|
|
command! SearchOpen :call notecrate#search_open() |
|
|
|
command! SearchInsertLink :call notecrate#search_insert_link() |
|
|
|
command! UpdateBacklinks :call notecrate#update_backlinks() |
|
|
|
command! NewNote :call notecrate#new_note_from_prompt() |
|
|
|
command! DeleteNote :call notecrate#delete_note() |
|
|
|
command! Convert :call notecrate#convert() |
|
|
|
command! Save :call notecrate#save() |
|
|
|
|
|
|
|
" inoremap <buffer> <Esc> <Esc>mmgqis`m |
|
|
|
nnoremap <buffer> <leader>c :Convert<CR> |
|
|
@ -19,16 +19,16 @@ nnoremap <buffer> <leader>i :SearchInsertLink<CR> |
|
|
|
nnoremap <buffer> <leader>b :UpdateBacklinks<CR> |
|
|
|
nnoremap <buffer> <leader>n :NewNote<CR> |
|
|
|
nnoremap <buffer> <leader>d :DeleteNote<CR> |
|
|
|
nnoremap <buffer> <leader>s :Convert<CR>:Save<CR> |
|
|
|
nnoremap <buffer> <CR> :call notecrate#base#follow_link()<CR> |
|
|
|
vnoremap <buffer> <CR> :call notecrate#base#new_note_from_selection()<CR> |
|
|
|
nnoremap <buffer> <backspace> :call notecrate#base#open_previous()<CR> |
|
|
|
nnoremap <buffer> <leader>s :Save<CR> |
|
|
|
nnoremap <buffer> <CR> :call notecrate#follow_link()<CR> |
|
|
|
vnoremap <buffer> <CR> :call notecrate#new_note_from_selection()<CR> |
|
|
|
nnoremap <buffer> <backspace> :call notecrate#open_previous()<CR> |
|
|
|
nnoremap <buffer> <S-j> /\[[^\]]*\]([^)]*)<CR>:noh<CR> |
|
|
|
nnoremap <buffer> <S-l> /\[[^\]]*\]([^)]*)<CR>:noh<CR> |
|
|
|
nnoremap <buffer> <Tab> /\[[^\]]*\]([^)]*)<CR>:noh<CR> |
|
|
|
nnoremap <buffer> <S-Tab> /\[[^\]]*\]([^)]*)<CR>NN:noh<CR> |
|
|
|
nnoremap <buffer> <S-h> /\[[^\]]*\]([^)]*)<CR>NN:noh<CR> |
|
|
|
nnoremap <buffer> <S-k> /\[[^\]]*\]([^)]*)<CR>NN:noh<CR> |
|
|
|
vnoremap <buffer> <leader>i :call notecrate#base#search_insert_link_selection()<CR> |
|
|
|
vnoremap <buffer> <leader>i :call notecrate#search_insert_link_selection()<CR> |
|
|
|
inoremap <buffer> <Tab> <C-t> |
|
|
|
inoremap <buffer> <S-Tab> <C-d> |
|
|
|