Compare commits

..

3 commits

2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
% tmux, reptyr % tmux, reptyr
# send background process to tmux # send background process to tmux
bg <process> && disown <process> && tmux new "$SHELL -c 'reptyr <process>'" bg <process> && disown <process> && tmux new -d "$SHELL -c 'reptyr <process>'"
$ process: ps x -eo pid,tty,stat | awk '$2 ~ /pts/' | awk '$3 ~ /T/' | cut -d" " -f1 --- --preview "ps -p {} -o cmd" $ process: ps x -eo pid,tty,stat | awk '$2 ~ /pts/' | awk '$3 ~ /T/' | cut -d" " -f1 --- --preview "ps -p {} -o cmd"

View file

@ -2,5 +2,4 @@ require("nvim-autopairs").setup()
-- If you want insert `(` after select function or method item -- If you want insert `(` after select function or method item
local cmp_autopairs = require("nvim-autopairs.completion.cmp") local cmp_autopairs = require("nvim-autopairs.completion.cmp")
local cmp = require("cmp") require("cmp").event:on("confirm_done", cmp_autopairs.on_confirm_done())
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done())