Skip to content

Commit

Permalink
tmux.conf, vimrc: add support for OSC52
Browse files Browse the repository at this point in the history
  • Loading branch information
yous committed Jan 15, 2024
1 parent c88cb5b commit 1ca1675
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ set-option -g allow-rename on
# Mac OS X fix for pbcopy, pbpaste and launchctl
if-shell 'command -v reattach-to-user-namespace >/dev/null' \
'set-option -g default-command "reattach-to-user-namespace -l $SHELL"'
# https://github.com/tmux/tmux/wiki/Clipboard
set-option -s set-clipboard on

# Bindings
# Default prefix
Expand Down
5 changes: 5 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ endif
Plug 'will133/vim-dirdiff'
" Vim: file and hunk folding support for diff/patch files.
Plug 'sgeb/vim-diff-fold'
" A Vim plugin to copy text through SSH with OSC52
Plug 'ojroques/vim-oscyank'
" A Vim plugin that manages your tag files
if executable('ctags') || executable('cscope')
if v:version >= 800
Expand Down Expand Up @@ -1296,6 +1298,9 @@ endif
" FixCursorHold.nvim
let g:cursorhold_updatetime = 100

" vim-oscyank
vmap <Leader>y <Plug>OSCYankVisual
" vim-gutentags
function! s:BuildTagsFileListCmd(prog)
let filetypes = [
Expand Down

0 comments on commit 1ca1675

Please sign in to comment.