dotfiles

Config files from my daily system
Index Commits Files Refs README
commit 41ea14a255d2b67a16f9c8796e53faa34d57ba9f
parent 682c8aa33178485ad1866d9784e32f9feca4e86e
Author: klewer-martin <mk@inspiron.localdomain>
Date:   Mon,  1 Feb 2021 03:05:17 -0300

Updated vim config file, now with more easy keybindings;

Diffstat:
M.config/nvim/init.vim | 51++++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 40 insertions(+), 11 deletions(-)
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
@@ -1,17 +1,46 @@
-call plug#begin('~/.config/nvim/plugged')
 
-Plug 'vim-airline/vim-airline'
-Plug 'vim-airline/vim-airline-themes'
-Plug 'preservim/nerdtree'
-Plug 'ap/vim-css-color'
+"                               _           
+"         _ __   ___  _____   _(_)_ __ ___  
+"        | '_ \ / _ \/ _ \ \ / / | '_ ` _ \ 
+"        | | | |  __/ (_) \ V /| | | | | | |
+"        |_| |_|\___|\___/ \_/ |_|_| |_| |_|
+"
+"        by github.com/klewer-martin
+"
+
+
+" Plugins call
+    call plug#begin('~/.config/nvim/plugged')
+
+    Plug 'vim-airline/vim-airline'
+    Plug 'vim-airline/vim-airline-themes'
+    Plug 'preservim/nerdtree'
+    Plug 'chrisbra/Colorizer'
+    Plug 'flazz/vim-colorschemes'
+
+    call plug#end()
+
+
+" Plugins settings
+    let g:airline_theme='dark'
+    let g:airline#extensions#tabline#enable = 1
+    let g:colorizer_auto_color = 1
 
-call plug#end()
-let g:airline_theme = "code_dark"
 
 
 " Basic settings
-syntax on
-set encoding=utf8
-set tabstop=4
-set shiftwidth=4
+    syntax on
+    set encoding=utf-8
+    set tabstop=4
+    set shiftwidth=4
+
+" Key remaps
+    let mapleader ='\'
+
+    map <leader>n :NERDTreeToggle<CR>
 
+    " Shortcut for split navigation
+    noremap <C-Down> <C-W>j<CR>
+    noremap <C-Up> <C-W>k<CR>
+    noremap <C-Left> <C-W>h<CR>
+    noremap <C-Right> <C-W>l<CR>