Skip to content

Commit

Permalink
add rcl restart
Browse files Browse the repository at this point in the history
  • Loading branch information
theowenyoung committed Sep 19, 2022
1 parent 839f7db commit 367a4b1
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion bin/kakproject
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ if [ -z "${TMUX}" ]; then
echo "Not in tmux"
exit 1
fi
printf "lfid: %s" "$LF_ID" >> /tmp/n.log
# get file path from nnn
file_path=$1
# get session name, which is the current directory
Expand Down
1 change: 0 additions & 1 deletion modules/kakoune/files/includes/common.kak
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ map global normal <a-f> ": format<ret>" -docstring "format"
map global normal <c-a-n> ": tmux-repl-vertical -l 15 <ret>" -docstring "start a new repl pane"
map global normal <c-a-c> ': repl-send-text "exit<c-v><ret>" <ret>' -docstring 'close new repl pane'
map global normal <c-a-g> "<esc><space>ld" -docstring "go to defination"

map global normal <c-a-t> ': repl-send-text %val{selection} <ret>' -docstring "eval selection from bash"
map global normal <c-n> ": edit -scratch<ret>" -docstring "new scratch"
map global normal <c-a-r> ': eval %val{selection} <ret>' -docstring "eval selection"
Expand Down
1 change: 0 additions & 1 deletion modules/kakoune/files/includes/plugins.kak
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ plug "kak-lsp/kak-lsp" config %{
set global lsp_diagnostic_line_error_sign ''
set global lsp_diagnostic_line_warning_sign ''

map global lsp <d> "<esc>: lsp-definition<ret><a-;>gi" -docstring "go to definition"

define-command ne -docstring 'go to next error/warning from lsp' %{ lsp-find-error --include-warnings }
define-command pe -docstring 'go to previous error/warning from lsp' %{ lsp-find-error --previous --include-warnings }
Expand Down
2 changes: 1 addition & 1 deletion modules/lf/files/lfrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ map D :delete
map a push :mkdir<space>
map b push :touch<space>
map <tab> :search-next

map gr $$f
# cmd

cmd delete $trash "$f"
Expand Down
2 changes: 1 addition & 1 deletion modules/zsh/files/includes/4_aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ done

## clash
alias cl="sudo clash -d ~/.config/clash"
alias rcl="sudo systemctl restart clash"
alias rcl="cd -- $HOME/dotfiles && make pull && mergeclash && sudo systemctl restart clash"
alias mergeclash="~/dotfiles/root/clash/merge_clash_config.sh"

## caddy
Expand Down

0 comments on commit 367a4b1

Please sign in to comment.