Skip to content

Instantly share code, notes, and snippets.

@john-science
Last active October 25, 2024 13:51
Show Gist options
  • Save john-science/65acfa045d47fb81d4f6d4052e51a539 to your computer and use it in GitHub Desktop.
Save john-science/65acfa045d47fb81d4f6d4052e51a539 to your computer and use it in GitHub Desktop.
My vimrc file, but it requires that I install NerdTREE
set linebreak
set textwidth=100
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 paste
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 @p = ':TlistToggle'
let @o = ':TlistOpen'
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