summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-11-03 21:56:48 +0100
committerDaniel Weipert <code@drogueronin.de>2021-11-03 21:56:48 +0100
commit9853c1211438d076381595bda55271592c71682f (patch)
treeaa5dad6691418df880051147ea9fc274e191a6bf
parent1ae843ba0ee1aced8629e28c3e740f32c3a72878 (diff)
Adjustments
-rw-r--r--.config/nvim/init.vim12
-rw-r--r--.zshrc2
2 files changed, 13 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 1c67dc4..d6745cc 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -16,7 +16,14 @@ call plug#end()
" Config
" "
+set shiftwidth=4
+set nu rnu
+set mouse=a
+
colorscheme gruvbox
+hi Normal guibg=NONE ctermbg=NONE
+
+let g:NERDTreeShowHidden=1
" "
@@ -25,6 +32,11 @@ colorscheme gruvbox
map <C-b> :NERDTreeToggle<CR>
+nnoremap <A-Left> <C-w><Left>
+nnoremap <A-Up> <C-w><Up>
+nnoremap <A-Right> <C-w><Right>
+nnoremap <A-Down> <C-w><Down>
+
map <ESC><C-c> <CR>
nnoremap <silent> <C-s> :w<CR>
diff --git a/.zshrc b/.zshrc
index 1bbf333..85050c8 100644
--- a/.zshrc
+++ b/.zshrc
@@ -13,6 +13,6 @@ plugins=(git)
source $ZSH/oh-my-zsh.sh
export EDITOR=nvim
-alias e=$EDITOR
+alias vim=$EDITOR
alias ls=exa