From 6dfe384b82111e6632ebb7f503d5afb56c09f148 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 20 Oct 2016 21:00:22 +0200 Subject: Add basic Matlab support to vim --- vim/.vimrc | 22 ++++++++++++---------- xorg/.Xresources | 3 +++ 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index ccd12e5..d18cf16 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,14 +1,15 @@ " The following plugins are expected to be installed: -" * pathogen -- autoload other plugins -" * ctrlp.vim -- fuzzy file search -" * gundo.vim -- visualize undo tree -" * nertree -- nicer file browser with sidebar support -" * vim-airline -- better status bar -" * vim-unimpaired -- bracket mappings -" * vim-gitgutter -- display git diffs alongside line numbers -" * vim-renamer -- file renaming utility -" * vim-vimwiki -- makes it easier to manage e.g. notes -" * goyo.vim -- undistracted writing mode +" * pathogen -- autoload other plugins +" * ctrlp.vim -- fuzzy file search +" * gundo.vim -- visualize undo tree +" * nertree -- nicer file browser with sidebar support +" * vim-airline -- better status bar +" * vim-unimpaired -- bracket mappings +" * vim-gitgutter -- display git diffs alongside line numbers +" * vim-renamer -- file renaming utility +" * vim-vimwiki -- makes it easier to manage e.g. notes +" * goyo.vim -- undistracted writing mode +" * vim-matlab-behave -- add basic matlab support call pathogen#infect() @@ -106,6 +107,7 @@ let g:gitgutter_highlight_lines = 1 let g:goyo_width = 90 let g:goyo_margin_top = 1 let g:goyo_margin_bottom = 0 +let g:matlab_behave_paste_cmd = "alt+v" nnoremap :NERDTreeToggle nnoremap :GundoToggle diff --git a/xorg/.Xresources b/xorg/.Xresources index 74b2905..4b4de4a 100644 --- a/xorg/.Xresources +++ b/xorg/.Xresources @@ -23,6 +23,9 @@ URxvt.keysym.M-Right: \033[1;3C URxvt.background: #161616 URxvt.foreground: #F2F2F2 +URxvt.keysym.M-c: perl:clipboard:copy +URxvt.keysym.M-v: perl:clipboard:paste + ! black URxvt.color0: #161616 URxvt.color8: #F2F2F2 -- cgit v1.2.3