Replaced default editor with nvim, use system-wide config

This commit is contained in:
2023-08-14 15:03:36 -04:00
parent e358c65f7d
commit 0e0b52448a
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
export LESSHISTFILE="$XDG_CACHE_HOME"/less/history
export EDITOR=micro
export EDITOR=nvim
export BUILDDIR=/tmp/makepkg
[ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ] && exec dbus-run-session startplasma-wayland
@@ -1,5 +1,4 @@
" ensure correct basic settings
set nocompatible
set fileencoding=utf-8
" show line numbers
@@ -9,6 +8,7 @@ set number
set tabstop=4
set shiftwidth=4
set expandtab
autocmd FileType go set noexpandtab
" enable visually indented text wrapping
set wrap
@@ -32,7 +32,7 @@ set smartcase
" :20 : up to 20 lines of command-line history will be remembered
" % : saves and restores the buffer list
" n... : where to save the viminfo files
set viminfo='10,\"100,:20,%,n~/.viminfo
set viminfo='10,\"100,:20,%,n~/.local/share/nviminfo
" restores cursor position in recently opened files
function! ResCur()