mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 08:45:39 +00:00
make nvim an alias of vim
This commit is contained in:
parent
121e1e9c37
commit
635414aa36
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user