From ff3cecf1303e36f515634c7d1c6f13c0be907637 Mon Sep 17 00:00:00 2001 From: BardofSprites <89086143+BardofSprites@users.noreply.github.com> Date: Tue, 20 Jan 2026 10:21:34 -0500 Subject: simplified vim config --- vim/.vimrc | 35 +++-------------------------------- 1 file changed, 3 insertions(+), 32 deletions(-) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index ecfd17e..6e59149 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -19,39 +19,10 @@ Plug 'junegunn/fzf.vim' Plug 'tpope/vim-commentary' Plug 'tpope/vim-surround' Plug 'ap/vim-css-color' -Plug 'zah/nim.vim' call plug#end() -vmap "+yi -vmap "+c -vmap c"+p -imap "+pa - -function! BardFindNotesFile() - let l:cmd = "find ~/Notes/denote -type f -name '*.org' " . - \ "! -path '*/.git/*' ! -path '*/.cache/*' | " . - \ "grep -E './[0-9]{8}T[0-9]{6}--.*\\.org$'" - call fzf#run(fzf#wrap({ - \ 'source': l:cmd, - \ 'sink': 'e', - \ 'options': '--prompt "Notes> " --preview "cat {}"' - \ })) -endfunction - -command! FindNotesFile call BardFindNotesFile() - -function! BardSearchNotes() - call fzf#vim#grep( - \ "rg --column --line-number --no-heading --color=always " . - \ "--hidden --glob '!**/.git/*' --glob '!**/.cache/*' " . - \ "' ' ~/Notes/denote", 1, - \ fzf#vim#with_preview(), 0) -endfunction - -command! SearchNotes call BardSearchNotes() " KEYBINDS let mapleader = " " -nnoremap fn :FindNotesFile -nnoremap sn :SearchNotes -nnoremap ff :Files -nnoremap b :Marks +nnoremap f :Files +nnoremap b :Buffers +nnoremap d :Ex -- cgit v1.2.3