aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d/alias
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-02-25 22:49:45 +0100
committerKarel Kočí <cynerd@email.cz>2024-02-25 22:49:45 +0100
commit5f308879ce546850477c6d353dc851f6a623728d (patch)
treecbd86618baf9aaabb5912ee604d684af0d61dc0a /shellrc.d/alias
parent000268bfffeb92a0afe7e6953b0e20ee395d5621 (diff)
downloadshellrc-5f308879ce546850477c6d353dc851f6a623728d.tar.gz
shellrc-5f308879ce546850477c6d353dc851f6a623728d.tar.bz2
shellrc-5f308879ce546850477c6d353dc851f6a623728d.zip
Migrate from vim to nvim
Diffstat (limited to 'shellrc.d/alias')
-rw-r--r--shellrc.d/alias6
1 files changed, 5 insertions, 1 deletions
diff --git a/shellrc.d/alias b/shellrc.d/alias
index 86108b8..3db58b3 100644
--- a/shellrc.d/alias
+++ b/shellrc.d/alias
@@ -11,7 +11,7 @@ alias cgdb='cgdb -q'
alias octave='octave-cli -q'
alias ssh='TERM="xterm-256color" ssh'
alias gst='git status'
-alias v='vim'
+alias v='nvim'
alias watch='watch -n 1 -c -t -d'
alias rej='find -name \*.rej'
alias orig='find -name \*.orig'
@@ -29,3 +29,7 @@ fi
if command -v sdcv 2>/dev/null >&2; then
alias sdcv='sdcv -c'
fi
+
+nvim_config() (
+ cd ~/.config/nvim || v init.vim
+)