aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2016-10-20 21:00:22 +0200
committerAdrian Kummerlaender2016-10-20 21:00:22 +0200
commit6dfe384b82111e6632ebb7f503d5afb56c09f148 (patch)
treec8afead80a555dd7aa8415165f471a931a51fe0a
parent08d326fc99d4c1b5d5b5e4677e7eff67e19a3f2c (diff)
downloaddotfiles-6dfe384b82111e6632ebb7f503d5afb56c09f148.tar
dotfiles-6dfe384b82111e6632ebb7f503d5afb56c09f148.tar.gz
dotfiles-6dfe384b82111e6632ebb7f503d5afb56c09f148.tar.bz2
dotfiles-6dfe384b82111e6632ebb7f503d5afb56c09f148.tar.lz
dotfiles-6dfe384b82111e6632ebb7f503d5afb56c09f148.tar.xz
dotfiles-6dfe384b82111e6632ebb7f503d5afb56c09f148.tar.zst
dotfiles-6dfe384b82111e6632ebb7f503d5afb56c09f148.zip
Add basic Matlab support to vim
-rw-r--r--vim/.vimrc22
-rw-r--r--xorg/.Xresources3
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 <F4> :NERDTreeToggle<CR>
nnoremap <F5> :GundoToggle<CR>
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