Skip to content

Instantly share code, notes, and snippets.

@ejcx
Created July 31, 2016 06:44
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 ejcx/b0b87639f4ca6d525f6c9f1339f58410 to your computer and use it in GitHub Desktop.
Save ejcx/b0b87639f4ca6d525f6c9f1339f58410 to your computer and use it in GitHub Desktop.
call pathogen#infect('/Users/ejcx/.vim/bundle/{}')
fu! Kernelstyle()
set sw=8
set ts=8
set noexpandtab
endf
fu! Normalstyle()
syntax on
set tabstop=2
set shiftwidth=2
set expandtab
set ai
set number
set hlsearch
set ruler
set incsearch
highlight Comment ctermfg=green
endf
call Normalstyle()
set wmh=0
map <C-J> <C-W>j<C-W>
map <C-K> <C-W>k<C-W>
set wmw=0
map <C-H> <C-W>h<C-W>
map <C-L> <C-W>l<C-W>
let g:go_fmt_command = "goimports"
map <C-H> <Esc>:tabprev<CR>
map <C-L> <Esc>:tabnext<CR>
map <C-n> <Esc>:tabnew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment