make nvim an alias of vim

This commit is contained in:
Noah Masur 2022-01-22 11:06:14 -05:00
parent 121e1e9c37
commit 635414aa36

View File

@ -98,6 +98,7 @@ in {
functions = { }; functions = { };
interactiveShellInit = ""; interactiveShellInit = "";
loginShellInit = ""; loginShellInit = "";
shellAliases = { vim = "nvim"; };
shellAbbrs = { shellAbbrs = {
# Directory aliases # Directory aliases
@ -124,7 +125,7 @@ in {
gaa = "git add -A"; gaa = "git add -A";
gac = "git commit -am"; gac = "git commit -am";
gc = "git commit -m"; gc = "git commit -m";
gca = "git commit --amend"; gca = "git commit --amend --no-edit";
gu = "git pull"; gu = "git pull";
gp = "git push"; gp = "git push";
gpp = "git_set_upstream"; gpp = "git_set_upstream";
@ -151,10 +152,10 @@ in {
grl = "gh run view --log"; grl = "gh run view --log";
# Vim # Vim
v = "nvim"; v = "vim";
vl = "nvim -c 'normal! `0'"; vl = "vim -c 'normal! `0'";
vll = "nvim -c 'Telescope oldfiles'"; vll = "vim -c 'Telescope oldfiles'";
vimrc = "nvim ~/dev/personal/dotfiles/nvim.configlink/init.lua"; vimrc = "vim ~/dev/personal/dotfiles/nvim.configlink/init.lua";
# Notes # Notes
qn = "quicknote"; qn = "quicknote";