File tree Expand file tree Collapse file tree 17 files changed +27
-23
lines changed
Expand file tree Collapse file tree 17 files changed +27
-23
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ alias td="trash-rm"
2727alias te="trash-empty"
2828
2929alias g="git"
30- alias e="vim "
30+ alias e="nvim "
3131
3232alias up="update"
3333alias ssu="services.show --user | less -r"
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ if [ "$(command -v fasd)" -nt "$fasd_cache" -o ! -s "$fasd_cache" ]; then
6161fi
6262source " $fasd_cache "
6363unset fasd_cache
64- alias v=' f -e vim ' # quick opening files with vim
64+ alias v=' f -e nvim ' # quick opening files with nvim
6565alias m=' f -e vlc' # quick opening files with vlc
6666alias j=' fasd_cd -d' # cd, same functionality as j in autojump
6767alias o=' a -e xdg-open' # quick opening files with xdg-open
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ function _Dsubject {
152152function _body {
153153 clear
154154 _tmpbody
155- vim " $body "
155+ nvim " $body "
156156}
157157
158158function _Dbody {
Original file line number Diff line number Diff line change 11#! /bin/env sh
22
33wget " $1 " -O " $2 "
4- vim " $2 "
4+ nvim " $2 "
Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ line="$(echo "$args" | cut -d: -f3 | rev)"
1515column=" $( echo " $args " | cut -d: -f2 | rev) "
1616filename=" $( echo " $args " | cut -d: -f1-3 --complement | rev) "
1717
18- vim " +call cursor($line ,$column )" " $filename "
18+ nvim " +call cursor($line ,$column )" " $filename "
Original file line number Diff line number Diff line change 1616# chmod +x ~/.bin/imgur
1717# Optional, since Alan kindly provided an API key for this script: stick your
1818# API key in the top:
19- # vim ~/.bin/imgur
19+ # nvim ~/.bin/imgur
2020# Upload an image:
2121# imgur images/hilarious/manfallingover.jpg
2222# Upload multiple images:
Original file line number Diff line number Diff line change 33file=$( fasd -fRl | dmenu_center -i -z -p ' ' -sb ' #24A946' -l 10)
44
55if [ " $file " != ' ' ]; then
6- terminator -b -x vim " $file "
6+ terminator -b -x nvim " $file "
77fi
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ while IFS= read -r chapter; do
3535 echo " ${begin} -${end} " " ${ii} ${title} " | tee --append " $args "
3636done
3737
38- if ! vim " $args " ; then _exit 11 ; fi
38+ if ! nvim " $args " ; then _exit 11 ; fi
3939
4040while IFS= read -r line || [ -n " $line " ] ; do
4141 output=" ${root} /$( printf ' %s' " $line " | sed ' s/^[^ ]* //' ) .pdf"
Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ if $pacdiff ; then
410410 # https://stackoverflow.com/questions/2019281/load-different-colorscheme-when-using-vimdiff
411411 # https://stackoverflow.com/a/27809708/1582182
412412 # https://stackoverflow.com/a/49061325/1582182 <- THE REAL CULPRIT
413- DIFFPROG=' vim -c "syntax off" -d' sudo pacdiff
413+ DIFFPROG=' nvim -c "syntax off" -d' sudo pacdiff
414414
415415fi
416416
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ alias .....="cd ../../../.."
99abbr -a -- - ' cd -'
1010
1111# fasd aliases
12- alias v=' f -e vim ' # quick opening files with vim
12+ alias v=' f -e nvim ' # quick opening files with nvim
1313alias m=' f -e vlc' # quick opening files with vlc
1414alias j=' fasd_cd -d' # cd, same functionality as j in autojump
1515alias o=' a -e xdg-open' # quick opening files with xdg-open
@@ -68,10 +68,10 @@ abbr te "trash-empty"
6868# Git
6969abbr g git
7070
71- # Vim
72- abbr e vim
73- abbr ef " vim (bfs -type f | fzf -m)"
74- abbr ec " vim (rg --hidden -g '!.git/*' '>>>>>>>' -l)"
71+ # Neovim
72+ abbr e nvim
73+ abbr ef " nvim (bfs -type f | fzf -m)"
74+ abbr ec " nvim (rg --hidden -g '!.git/*' '>>>>>>>' -l)"
7575
7676# Alias all git aliases
7777for al in (git aliases)
You can’t perform that action at this time.
0 commit comments