mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-09-02 23:17:32 -04:00
Replaced default editor with nvim, use system-wide config
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user