aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shellrc.d/alias6
-rw-r--r--shellrc.d/dev4
2 files changed, 9 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
+)
diff --git a/shellrc.d/dev b/shellrc.d/dev
index 4167c54..c28ec09 100644
--- a/shellrc.d/dev
+++ b/shellrc.d/dev
@@ -62,3 +62,7 @@ if command -v bear >/dev/null; then
alias mbmake='bmake -j$(($(nproc) * 2)) -l$(nproc)'
fi
+
+glv() {
+ GITLAB_TOKEN="$(pass gitlab.com/nvim-token)" nvim -c 'lua require("gitlab").review()'
+}