nvim: add plugin for fish scripting
This commit is contained in:
parent
8fb1b01786
commit
f9559f904e
@ -19,5 +19,5 @@ function fish_prompt --description 'Write out the prompt'
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Print the final character (§)
|
# Print the final character (§)
|
||||||
echo -n "§ "
|
echo -n "> "
|
||||||
end
|
end
|
||||||
|
@ -13,6 +13,5 @@ function kp --description "Kill processes"
|
|||||||
else
|
else
|
||||||
echo $__kp__pid | xargs kill -9
|
echo $__kp__pid | xargs kill -9
|
||||||
end
|
end
|
||||||
kp
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
function compress_video --argument-names srcfile
|
function video_compress --argument-names srcfile
|
||||||
if test -z "$srcfile"
|
if test -z "$srcfile"
|
||||||
echo "Error: missing argument"
|
echo "Error: missing argument"
|
||||||
return 1
|
return 1
|
@ -1,4 +1,4 @@
|
|||||||
function move_videos
|
function video_transfer
|
||||||
for folder in (find ~/Pictures/GoPro -type d -mindepth 1 -maxdepth 1)
|
for folder in (find ~/Pictures/GoPro -type d -mindepth 1 -maxdepth 1)
|
||||||
mkdir -p ~/Movies/GoPro/$folder
|
mkdir -p ~/Movies/GoPro/$folder
|
||||||
pushd ~/Pictures/GoPro/$folder
|
pushd ~/Pictures/GoPro/$folder
|
@ -7,6 +7,7 @@ endif
|
|||||||
" configure plugins using vim-plug
|
" configure plugins using vim-plug
|
||||||
" https://github.com/junegunn/vim-plug
|
" https://github.com/junegunn/vim-plug
|
||||||
call plug#begin('~/.cache/nvim/plugged')
|
call plug#begin('~/.cache/nvim/plugged')
|
||||||
|
Plug 'https://github.com/blankname/vim-fish' " fish scripting
|
||||||
Plug 'https://github.com/farmergreg/vim-lastplace' " intelligently reopen files at last edit position
|
Plug 'https://github.com/farmergreg/vim-lastplace' " intelligently reopen files at last edit position
|
||||||
Plug 'https://github.com/ntpeters/vim-better-whitespace' " highlights trailing whitespace, :StripWhitespace to remove
|
Plug 'https://github.com/ntpeters/vim-better-whitespace' " highlights trailing whitespace, :StripWhitespace to remove
|
||||||
Plug 'https://github.com/tpope/vim-sensible' " defaults everyone can agree on
|
Plug 'https://github.com/tpope/vim-sensible' " defaults everyone can agree on
|
||||||
|
Loading…
x
Reference in New Issue
Block a user