...
This commit is contained in:
parent
e08c40eb06
commit
b33ba5a3f8
2 changed files with 6 additions and 3 deletions
|
@ -1,10 +1,11 @@
|
|||
#!/bin/sh
|
||||
rpath="$(dirname `readlink -f $0`)"
|
||||
dot="$rpath/file"
|
||||
cmd="$@"
|
||||
for i in $dot/* ; do
|
||||
ln="$HOME/.`basename $i`"
|
||||
rm -rf "$ln"
|
||||
echo $ln $i
|
||||
ln -s "$i" "$ln"
|
||||
$cmd "$i" "$ln"
|
||||
done
|
||||
|
||||
|
|
|
@ -12,9 +12,11 @@ local opts = {noremap = true, silent = true}
|
|||
map('n', '\\rcolor', ':colorscheme jien\n', opts)
|
||||
map('n', '\\ecolor', ':e $HOME/lib/nvim/colors/jien.vim\n', opts)
|
||||
|
||||
-- File tree.s
|
||||
-- Moving around.
|
||||
map('n', '\\home', ":cd $HOME\n", opts)
|
||||
map('n', '\\ft', ':ToggleSidebarCarbon\n', opts)
|
||||
|
||||
-- Search
|
||||
map('n', '\\noh', ':noh\n', opts)
|
||||
|
||||
-- Tabs.
|
||||
map('n', '\\tn', ':tabnew\n', opts)
|
||||
|
|
Loading…
Reference in a new issue