summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-01 00:24:40 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-01 00:24:40 +0200
commit364ffe228d9682e29d60a7e4dcae3e51441d6143 (patch)
treed5cfdc6f6cf974ffe456234111fff0b798e0c791
parent6fdc81881ceb8ec9ca36350d92f5d6b852d378a0 (diff)
setup neovim
-rw-r--r--.bashrc1
-rw-r--r--.vimrc6
2 files changed, 4 insertions, 3 deletions
diff --git a/.bashrc b/.bashrc
index 6a82f1c..1742080 100644
--- a/.bashrc
+++ b/.bashrc
@@ -125,6 +125,7 @@ alias rm='rm -i'
alias gs='git status'
alias cs='config status'
alias config='/usr/bin/git --git-dir=/home/adam/.cfg/ --work-tree=/home/adam'
+alias vim='nvim'
# PATH
export PATH="$HOME/bin:$PATH"
diff --git a/.vimrc b/.vimrc
index b17ba5c..1a2984d 100644
--- a/.vimrc
+++ b/.vimrc
@@ -96,6 +96,7 @@ set nostartofline
" Display the cursor position on the last line of the screen or in the status
" line of a window
set ruler
+set laststatus=0
" Instead of failing a command because of unsaved changes, instead raise a
" dialogue asking if you wish to save changed files.
@@ -164,8 +165,7 @@ nnoremap n nzzzv
nnoremap N Nzzzv
colorscheme default
-highlight CursorLine cterm=NONE ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE
-highlight CursorLineNr cterm=bold ctermbg=NONE ctermfg=Yellow
-set cursorline
+highlight CursorLineNr cterm=bold ctermfg=Yellow
+highlight LineNr ctermfg=Brown
"------------------------------------------------------------