-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.vim
40 lines (31 loc) · 800 Bytes
/
init.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
syntax on
set noerrorbells
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set nu
set nowrap
set smartcase
set hidden
set noswapfile
set nobackup
set undodir=~/.vim_undodir
set undofile
set incsearch
set scrolloff=7
source ~/.config/nvim/palmentorte.vim
colorscheme = palmentorte
lua require('plugins')
let mapleader = ' '
nnoremap <silent><leader><Up> :wincmd k<CR>
nnoremap <silent><leader><Down> :wincmd j<CR>
nnoremap <silent><leader><Left> :wincmd h<CR>
nnoremap <silent><leader><Right> :wincmd l<CR>
nnoremap <silent><leader>v :vsplit<CR>
nnoremap <silent><leader>c :on<CR>
nnoremap <silent><leader>/ :noh<CR>
nnoremap <silent><leader>t :ter<CR>
tnoremap <silent><Esc> <C-\><C-n>
nnoremap <leader>e :NERDTreeToggle<CR>
nnoremap <leader>u :UndotreeToggle<CR>