diff --git a/karabiner.json b/karabiner.json index ef05bdc..c09bb4b 100644 --- a/karabiner.json +++ b/karabiner.json @@ -14,6 +14,24 @@ { "manipulators": [ { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^com\\.apple\\.Terminal$", + "^org\\.vim\\.", + "^com\\.vmware\\.fusion$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^com\\.microsoft\\.VSCode$", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$" + ], + "type": "frontmost_application_unless" + } + ], "description": "^w should delete a word backwards", "from": { "key_code": "comma", diff --git a/tmux.conf b/tmux.conf index 93dbe9a..009fee1 100644 --- a/tmux.conf +++ b/tmux.conf @@ -41,6 +41,7 @@ set -g @plugin 'tmux-plugins/tmux-open' set -g @plugin 'tmux-plugins/tmux-pain-control' set -g @plugin 'jbnicolai/tmux-urlview' set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin 'nhdaly/tmux-better-mouse-mode' set -g status-right '' set -g status-left '' @@ -81,3 +82,6 @@ set-window-option -g clock-mode-colour white # Initialize TMUX plugin manager run '~/.tmux/plugins/tpm/tpm' + +# mouse +set-option -g mouse on diff --git a/vimrc b/vimrc index fe046a0..c1a4bc6 100644 --- a/vimrc +++ b/vimrc @@ -13,7 +13,7 @@ Plug 'tpope/vim-unimpaired' " Plug 'tpope/vim-characterize' Plug 'tpope/vim-speeddating' Plug 'tpope/vim-jdaddy' -" Plug 'w0rp/ale' " previously 'neomake/neomake, 'scrooloose/syntastic' +Plug 'w0rp/ale' " previously 'neomake/neomake, 'scrooloose/syntastic' Plug 'SirVer/ultisnips' Plug 'honza/vim-snippets' Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } " previously YouCompleteMe @@ -52,6 +52,7 @@ Plug 'jceb/vim-orgmode' " Languages & Syntax Plug 'sheerun/vim-polyglot' +Plug 'dleonard0/pony-vim-syntax' Plug 'idris-hackers/idris-vim' Plug 'eagletmt/ghc-mod' Plug 'bitc/vim-hdevtools' @@ -216,10 +217,6 @@ imap (fzf-complete-path) imap (fzf-complete-file-ag) imap (fzf-complete-line) -" Neoformat -" autocmd BufWritePre *.js Neoformat -" autocmd FileType javascript set formatprg=prettier\ --stdin - " vim-easy-align xmap ga (EasyAlign) nmap ga (EasyAlign)