Skip to content

Instantly share code, notes, and snippets.

@john-science
Last active October 22, 2021 00:54
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 john-science/77f3d39ed83c83149946c26d7da07ff1 to your computer and use it in GitHub Desktop.
Save john-science/77f3d39ed83c83149946c26d7da07ff1 to your computer and use it in GitHub Desktop.
Customizing your VI/VIM experience.
" NERDTree for file viewing:
" https://github.com/preservim/nerdtree
" Taglist for Python-awareness
" https://github.com/yegappan/taglist
" https://sourceforge.net/projects/vim-taglist/
" apt-get install ctags
set linebreak
set textwidth=200
set showmatch
set hlsearch
set smartcase
set ignorecase
set incsearch
set autoindent
set expandtab
set shiftwidth=4
set nosmartindent
set smarttab
set softtabstop=4
set ruler
set undolevels=1000
set backspace=indent,eol,start
set noeb
set novb
highlight ColorColumn ctermbg=235 guibg=#2c2d27
let &colorcolumn=join(range(121,999),",")
let @n = ':NERDTree'
let @o = ':TlistOpen'
let @p = ':TlistToggle'
let @t = ':%s/\s\+$//e'
filetype on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment