commit 54d857d7d070835ecb0aa46b78a6a36780659985
parent 6064addbbba3a0cac0a4d2e78a6c00ada74fbf7b
Author: klewer-martin <martin.cachari@gmail.com>
Date: Tue, 30 Mar 2021 15:28:29 -0300
Update: nvim config files;
Diffstat:
5 files changed, 31 insertions(+), 6 deletions(-)
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
@@ -17,6 +17,7 @@
Plug 'chrisbra/Colorizer'
Plug 'flazz/vim-colorschemes'
Plug 'jiangmiao/auto-pairs'
+ Plug 'hattya/vcs-info.vim'
call plug#end()
@@ -24,9 +25,27 @@
" Plugins settings
let g:airline_theme='dark'
let g:airline#extensions#tabline#enabled = 1
+ let g:airline#extensions#tabline#formatter = 'unique_tail'
+ let g:airleine_powerline_fonts = 1
let g:colorizer_auto_color = 1
- let g:airline_left_sep='>'
- let g:airline_right_sep='<'
+
+" Powerline symbols
+ let g:airline_left_sep = ''
+ let g:airline_left_alt_sep = ''
+ let g:airline_right_sep = ''
+ let g:airline_right_alt_sep = ''
+" let g:airline_symbols.branch = ''
+" let g:airline_symbols.readonly = ''
+" let g:airline_symbols.linenr = '☰'
+" let g:airline_symbols.maxlinenr = ''
+" let g:airline_symbols.dirty='⚡'
+ let g:airline#extensions#tabline#enabled = 1
+" Show just the filename
+ let g:airline#extensions#tabline#fnamemod = ':t'
+ let g:airline#extensions#syntastic#enabled = 1
+ let g:airline#extensions#tabline#left_sep = ''
+ let g:airline#extensions#tabline#left_alt_sep = ''
+
" Basic settings
syntax on
@@ -39,8 +58,8 @@
set number
set norelativenumber
set mouse=a
+
set undofile
-
set undodir=~/.config/nvim/undodir
highlight VertSplit cterm=NONE
@@ -49,7 +68,7 @@
let mapleader =' '
" Open file tree;
- map <leader>n :NERDTreeToggle<CR>
+ map <leader>f :NERDTreeToggle<CR>
" Open file tree;
map <leader>s :source $HOME/.config/nvim/init.vim<CR>
@@ -62,3 +81,9 @@
noremap <C-Up> <C-W>k<CR>
noremap <C-Left> <C-W>h<CR>
noremap <C-Right> <C-W>l<CR>
+
+ " Move between windows with Ctrl + hjkl
+ noremap <C-h> <C-w>h
+ noremap <C-j> <C-w>j
+ noremap <C-k> <C-w>k
+ noremap <C-l> <C-w>l
diff --git a/.config/nvim/plugged/ale b/.config/nvim/plugged/ale
@@ -1 +0,0 @@
-Subproject commit 82c8e3a3a3740b520c748ff181e5c29f508b8455
diff --git a/.config/nvim/plugged/auto-pairs b/.config/nvim/plugged/auto-pairs
@@ -0,0 +1 @@
+Subproject commit 39f06b873a8449af8ff6a3eee716d3da14d63a76
diff --git a/.config/nvim/plugged/vcs-info.vim b/.config/nvim/plugged/vcs-info.vim
@@ -0,0 +1 @@
+Subproject commit 8a79ae987a0b17af813a5e88517dd4fe69bd4137
diff --git a/.config/nvim/plugged/vim-css-color b/.config/nvim/plugged/vim-css-color
@@ -1 +0,0 @@
-Subproject commit 4694c6ea03a065a3f6ddbebce56797a21e8241ef