aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/notes.vim18
-rw-r--r--.vimrc22
2 files changed, 0 insertions, 40 deletions
diff --git a/.vim/notes.vim b/.vim/notes.vim
deleted file mode 100644
index c56896e..0000000
--- a/.vim/notes.vim
+++ /dev/null
@@ -1,18 +0,0 @@
-let s:search_dir = ' ~/diaries ~/journals ~/notes '
-
-command! -bang FzfNoteFiles
- \ call fzf#run(fzf#wrap(fzf#vim#with_preview({
- \ 'source': 'fd --type f . ' . s:search_dir,
- \ 'sink': 'edit',
- \ }), <bang>0))
-
-command! -bang -nargs=* FzfNoteRg
- \ call fzf#vim#grep(
- \ 'rg --column --line-number --no-heading --color=always --smart-case -e '
- \ . shellescape(<q-args>) . s:search_dir, 1,
- \ fzf#vim#with_preview(), <bang>0)
-
-nnoremap <leader>ww :edit ~/journals/index.md<CR>
-nnoremap <leader>wn :edit ~/journals/gtd.md<CR>
-nnoremap <leader>wf :FzfNoteFiles<CR>
-nnoremap <leader>wr :FzfNoteRg<space>
diff --git a/.vimrc b/.vimrc
index e3dbe5d..9ee1b41 100644
--- a/.vimrc
+++ b/.vimrc
@@ -38,27 +38,6 @@ endif
" Correct background rendering in some terminal
let &t_ut=''
-" MacVim
-
-if has("gui_running")
- if has("gui_macvim")
- set guifont=Monaco:h15
- set transparency=5
- set noimdisable
-
- noremap <D-1> :tabn 1<CR>
- noremap <D-2> :tabn 2<CR>
- noremap <D-3> :tabn 3<CR>
- noremap <D-4> :tabn 4<CR>
- noremap <D-5> :tabn 5<CR>
- noremap <D-6> :tabn 6<CR>
- noremap <D-7> :tabn 7<CR>
- noremap <D-8> :tabn 8<CR>
- noremap <D-9> :tabn 9<CR>
- noremap <D-0> :tablat<CR>
- endif
-endif
-
" Identation
set autoindent
@@ -104,7 +83,6 @@ let mapleader=',' " change the key <leader>
nnoremap <leader>cd :cd %:p:h<CR> :pwd<CR>
source ~/.vim/keybindings.vim
-source ~/.vim/notes.vim
highlight Pmenu ctermbg=grey
set exrc