Skip to content

Instantly share code, notes, and snippets.

@stonecharioteer
Created May 15, 2018 05:27
Show Gist options
  • Save stonecharioteer/c405f4b36fdaddadcea7e4a3d821aac4 to your computer and use it in GitHub Desktop.
Save stonecharioteer/c405f4b36fdaddadcea7e4a3d821aac4 to your computer and use it in GitHub Desktop.
Vim Configuration file
set number
syntax enable
filetype plugin indent on
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
set showcmd
set cursorline
set cursorcolumn
set wildmenu
set lazyredraw
set showmatch
set incsearch
set hlsearch
nnoremap <leader><space> :nohlsearch<CR>
set foldenable
set foldlevelstart=10
set foldnestmax=10
nnoremap <space> za
set foldmethod=indent
:hi CursorLine cterm=NONE ctermbg=darkred ctermfg=white guibg=darkred guifg=white
:hi CursorColumn cterm=NONE ctermbg=darkred ctermfg=white guibg=darkred guifg=white
:nnoremap <Leader>c :set cursorline! cursorcolumn!<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment