Skip to content

Commit

Permalink
Removed ctrl-b binding from tmux and added shortcut for it in vim
Browse files Browse the repository at this point in the history
  • Loading branch information
g-erson committed Mar 11, 2019
1 parent d9b6d5a commit 44b7cbe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ setw -g xterm-keys on
set -s escape-time 10 # faster command sequences
set -s focus-events on

set -g prefix2 C-a # GNU-Screen compatible prefix
bind C-a send-prefix -2

set -q -g status-utf8 on # expect UTF-8 (tmux < 2.2)
setw -q -g utf8 on

Expand Down
2 changes: 1 addition & 1 deletion .tmux.conf.local
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ set -g status-keys vi
set -g mode-keys vi

# replace C-b by C-a instead of using both prefixes
#set -gu prefix2
set -gu prefix2
unbind C-a
unbind C-b
set -g prefix C-a
Expand Down
14 changes: 7 additions & 7 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ else

" Automatically start language servers.
let g:LanguageClient_autoStart = 1
let g:LanguageClient_rootMarkers = [
\ '.git'
\ 'default.nix',
\ 'package-lib.yaml',
\ '*.cabal',
\ 'stack.yaml',
\ ]
"let g:LanguageClient_rootMarkers = [
"\ '.git'
"\ 'default.nix',
"\ 'package-lib.yaml',
"\ '*.cabal',
"\ 'stack.yaml',
"\ ]
let g:LanguageClient_serverCommands = {
\ 'javascript' : ['node','~/.npm-global/lib/node_modules/javascript-typescript-langserver/lib/language-server-stdio','-l','/tmp/jsls.log'],
\ 'python': ['pyls','--log-file','/tmp/pyls.log'],
Expand Down

0 comments on commit 44b7cbe

Please sign in to comment.