Skip to content

Instantly share code, notes, and snippets.

@artygus
Created September 16, 2022 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artygus/b4e0882a3a0f9c13f644c1b5d4e6e4c0 to your computer and use it in GitHub Desktop.
Save artygus/b4e0882a3a0f9c13f644c1b5d4e6e4c0 to your computer and use it in GitHub Desktop.
Vim stuff
set et
set ts=2
set sw=2
set syntax=on
filetype plugin on
call plug#begin('~/.vim/plugged')
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'preservim/nerdtree'
Plug 'preservim/nerdcommenter'
call plug#end()
nnoremap <C-P> :GFiles<CR>
nnoremap <C-L> :Files<CR>
nnoremap <F2> :NERDTreeToggle<CR>
nnoremap <F3> :NERDTreeFind<CR>
"nnoremap <D-/> :call NERDComment('x', 'toggle')
noreabbrev Ack Ag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment