dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 0e644f7a3fefda3ad3035f65aa0e83f36c8eae08
parent b3133eb8623636e51efda543df7f83a7af542226
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Sun,  9 Aug 2015 22:21:34 +0200

add copy/paste with system clipboard

Diffstat:
M.vimrc | 11+++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/.vimrc b/.vimrc @@ -106,6 +106,9 @@ NeoBundle 'christoomey/vim-tmux-navigator' " clear all bookmarks in all buffers: mx NeoBundle 'MattesGroeger/vim-bookmarks' +" QC, QX, QV to copy, cut and paste from system clipboard +NeoBundle 'NLKNguyen/copy-cut-paste.vim' + " Python mode NeoBundle 'klen/python-mode' @@ -450,15 +453,15 @@ augroup filetypedetect_rst " Highlight a word or phrase and it creates a link and opens a split so " you can edit the url separately. Once you are done editing the link, " simply close that split. - au FileType rst vnoremap <leader>ml yi`<esc>gvvlli`_<esc>:vsplit<cr><C-W>l:$<cr>o<cr>.. _<esc>pA: http://TODO<esc>vb + "au FileType rst vnoremap <leader>ml yi`<esc>gvvlli`_<esc>:vsplit<cr><C-W>l:$<cr>o<cr>.. _<esc>pA: http://TODO<esc>vb """Make footnote (ml) - au FileType rst iabbrev mfn [#]_<esc>:vsplit<cr><C-W>l:$<cr>o<cr>.. [#] TODO + "au FileType rst iabbrev mfn [#]_<esc>:vsplit<cr><C-W>l:$<cr>o<cr>.. [#] TODO " Enable spelling by default - au FileType rst set spell + "au FileType rst set spell "Create image - au FileType rst iabbrev iii .. image:: TODO.png<cr> :scale: 100<cr>:align: center<cr><esc>kkkeel + "au FileType rst iabbrev iii .. image:: TODO.png<cr> :scale: 100<cr>:align: center<cr><esc>kkkeel "Create figure "au FileType rst iabbrev iif .. figure:: TODO.png<cr> :scale: 100<cr>:align: center<cr>:alt: TODO<cr><cr><cr>Some brief description<esc>kkkeel