Skip to content

Instantly share code, notes, and snippets.

@haberman
Created Mar 18, 2018
Embed
What would you like to do?
autocmd FileType bzl AutoFormatBuffer buildifier
syntax on
let mapleader = ","
set wildmode=list:longest
set list
set listchars=tab:>-,trail:-,extends:>,precedes:<,nbsp:+
set sts=2
set sw=2
set bs=2
set et
set laststatus=2
set wmh=0
set ruler
set hlsearch
set si
let g:miniBufExplMapCTabSwitchBufs = 1
set showcmd
set noerrorbells
set scrolloff=3
set mouse=
noremap <C-l> :pyf /usr/local/bin/clang-format.py<CR>
inoremap <C-l> <C-O>:pyf /usr/local/bin/clang-format.py<CR>
map <C-j> :tabn<CR>
map <C-k> :tabp<CR>
cnoreabbrev split tabe
map <leader>p :PiperSelectActiveFiles<CR>
map <leader>r :RelatedFilesWindow<CR>
" move from the neovim terminal window to somewhere else
nnoremap H <C-\><C-n><C-w>h
" nnoremap J <C-\><C-n><C-w>j
nnoremap K <C-\><C-n><C-w>k
nnoremap L <C-\><C-n><C-w>l
autocmd BufEnter,FocusGained * checktime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment