Skip to content

Instantly share code, notes, and snippets.

@BillyRuffian
Created March 18, 2021 09:30
Show Gist options
  • Save BillyRuffian/244134601e07125ab10080ba7f6c9df0 to your computer and use it in GitHub Desktop.
Save BillyRuffian/244134601e07125ab10080ba7f6c9df0 to your computer and use it in GitHub Desktop.
VIM settings using awesome_vim (https://github.com/amix/vimrc)
set runtimepath+=~/.vim_runtime
source ~/.vim_runtime/vimrcs/basic.vim
source ~/.vim_runtime/vimrcs/filetypes.vim
source ~/.vim_runtime/vimrcs/plugins_config.vim
source ~/.vim_runtime/vimrcs/extended.vim
try
source ~/.vim_runtime/my_configs.vim
catch
endtry
set number
nnoremap <C-t> :NERDTreeToggle<CR>
autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() |
\ quit | endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment