Skip to content

Instantly share code, notes, and snippets.

@swapi
Created February 5, 2014 05:49
Show Gist options
  • Save swapi/8818047 to your computer and use it in GitHub Desktop.
Save swapi/8818047 to your computer and use it in GitHub Desktop.
VIMRC file
set gfn=Courier_New
set nobackup
filetype plugin indent on " required!
set laststatus=2 " Always show the statusline
set t_Co=256 " Explicitly tell Vim that the terminal supports 256 colors
set mouse=a
set tabstop=4
set shiftwidth=4
set smarttab
set expandtab
set softtabstop=4
set autoindent
set completeopt=longest,menuone
map <c-j> <c-w>j
map <c-k> <c-w>k
map <c-l> <c-w>l
map <c-h> <c-w>h
map <Leader>n <esc>:tabprevious<CR>
map <Leader>m <esc>:tabnext<CR>
vnoremap <Leader>s :sort<CR>
set colorcolumn=80
highlight ColorColumn ctermbg=233
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment