Skip to content
Permalink
Browse files

Make moving between splits easier

  • Loading branch information...
Raggaer committed Mar 31, 2019
1 parent 88a1cf1 commit 85d2aac756b488528b38cec71c8d21d9cfd0d652
Showing with 4 additions and 1 deletion.
  1. +4 −1 .vimrc
5 .vimrc
@@ -8,7 +8,7 @@ set laststatus=2
function GoExecute()
let dir = getcwd()
let files = split(dir, "/")
execute '!go build github.com/raggaer/' . files[-1]
execute '!go build files[-1]
endfunction
nnoremap <C-e> :call GoExecute()<CR>

@@ -51,6 +51,9 @@ call plug#end()
" Set line numbers.
set number

" Make moving between splits easier
nnoremap <C-W> <C-W><C-W>

" Make NERDTree show hidden files/folders
let NERDTreeShowHidden = 1

0 comments on commit 85d2aac

Please sign in to comment.
You can’t perform that action at this time.