Last active
July 31, 2022 23:53
-
-
Save non-static/67c29a468b72c27a6f708683e0461827 to your computer and use it in GitHub Desktop.
VIM setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Plug-ins | |
" ========== | |
" * https://github.com/preservim/nerdtree | |
" * https://github.com/vim-airline/vim-airline | |
" ----------------------------------------------- | |
" Powerline font for https://github.com/vim-airline/vim-airline | |
let g:airline_powerline_fonts = 1 | |
set nu | |
set ts=4 sw=4 | |
set nocompatible | |
set smarttab | |
set ruler | |
set encoding=utf-8 | |
" Default status bar | |
" set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [ASCII=\%03.3b]\ [HEX=\%02.2B]\ [POS=%04l,%04v]\ [%p%%]\ [LEN=%L] | |
" set laststatus=2 | |
" For NerdTree shortcut | |
nnoremap <leader>n :NERDTreeFocus<CR> | |
nnoremap <C-n> :NERDTree<CR> | |
nnoremap <C-t> :NERDTreeToggle<CR> | |
nnoremap <C-f> :NERDTreeFind<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment