Skip to content

Commit e87bdf9

Browse files
committed
Try to make clipboard work in Mosh
mobile-shell/mosh#1054
1 parent 74096b9 commit e87bdf9

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

common-setup/tmux.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ bind -T copy-mode-vi y send -X copy-pipe-and-cancel "xclip -sel clip -i"
3838
3939
set-option -g set-clipboard on
4040
41+
# supposed to make the clipboard work in Mosh, but does not work with Mosh 1.3.2, at least
42+
if-shell "tmux-version ' < 3.4'" \
43+
'set -ag terminal-overrides ",screen-256color:colors=256:Tc:Ms=\\E]52;c;%p2%s\\7"';
44+
4145
# avoid annoying delay in VIM
4246
set -s escape-time 0
4347

common-setup/vim/dotvim/plugins-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Plug 'scrooloose/nerdtree'
2222
Plug 'w0rp/ale'
2323

2424
" LSP functionality - requires Node
25-
Plug 'neoclide/coc.nvim', {'branch': 'release'}
25+
"Plug 'neoclide/coc.nvim', {'branch': 'release'}
2626

2727
" Syntax highlighting
2828
Plug 'OrangeT/vim-csharp' "razor, c#

common-setup/vim/vimrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ au BufRead,BufNewFile nginx.conf set ft=nginx
108108
autocmd! bufwritepost .vimrc source % " in $HOME
109109
autocmd! bufwritepost vimrc source % " the linked file in dotfiles
110110
autocmd! bufwritepost plugins-config source %
111-
autocmd! bufwritepost coc-config source %
111+
"autocmd! bufwritepost coc-config source %
112112
autocmd! bufwritepost ale-config source %
113113

114114
" Make vim work as a crontab editor: http://vim.wikia.com/wiki/Editing_crontab
@@ -183,7 +183,7 @@ set suffixesadd+=.js " Makes gf work for relative files as well
183183
set mouse=
184184

185185
" These needs to be before later configuration for objects to be defined
186-
source ~/.vim/coc-config
186+
"source ~/.vim/coc-config
187187
source ~/.vim/ale-config
188188

189189
" js settings

0 commit comments

Comments
 (0)