Skip to content

Instantly share code, notes, and snippets.

@comeonly
Created January 14, 2015 06:48
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 comeonly/bcbe3de96814ddf1d369 to your computer and use it in GitHub Desktop.
Save comeonly/bcbe3de96814ddf1d369 to your computer and use it in GitHub Desktop.
set nocompatible
syntax enable
set number
set nocompatible
syntax enable
set number
set ruler
set list
set listchars=tab:>\ ,trail:-,nbsp:%,extends:>,precedes:<,eol:_
set incsearch
set hlsearch
set nowrap
set showmatch
set whichwrap=h,l
set nowrapscan
set ignorecase
set smartcase
set hidden
set history=2000
set autoindent
set expandtab
set tabstop=4
set shiftwidth=4
set helplang=en
set wildmenu
colorscheme desert
set directory=~/.vim/swp
set backupdir=~/.vim/bud
set pastetoggle=<F4>
nnoremap k gk
nnoremap j gj
vnoremap k gk
vnoremap j gj
nnoremap gk k
nnoremap gj j
vnoremap gk k
vnoremap gj j
" Enable mouse support.
set mouse=a
if &term =~ "^screen"
augroup MyAutoCmd
autocmd VimLeave * :set mouse=
augroup END
set ttymouse=xterm2
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment