Created
January 17, 2018 06:21
-
-
Save kumikoda/e3bdcca8c0a40e4d416ff80878049352 to your computer and use it in GitHub Desktop.
nvim init
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim " path to dein.vim | |
call dein#begin(expand('~/.cache/dein')) " path to plugins dir | |
call dein#add('Shougo/dein.vim') " the plugin manager itself | |
call dein#add('Shougo/deoplete.nvim') " autocomplete | |
call dein#add('scrooloose/nerdtree') " file tree explorer | |
call dein#add('vim-airline/vim-airline') " status bar | |
call dein#end() | |
" Custom leader key | |
nnoremap <space> <Nop> | |
let mapleader = " " | |
" New tab | |
nnoremap <leader>t :vnew<cr> | |
" Splits | |
set splitright " split new window on the right<Paste> | |
set splitbelow " split new window below | |
nnoremap <leader><Left> <C-w>h | |
nnoremap <leader><Down> <C-w>j | |
nnoremap <leader><Up> <C-w>k | |
nnoremap <leader><Right> <C-w>l | |
" Nerd Tree toggle | |
map <C-n> :NERDTreeToggle<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment