diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2018-01-22 17:27:18 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2018-01-22 17:27:18 +0100 |
commit | 2a147e1098271b90b595e16a37449f4db28f2cfc (patch) | |
tree | a0d7e501eadd4b4f55f7c409c37008fc46c1f37f /vimrc | |
parent | aa06f5e1fbbb748d2a5e2226d33b6cb11695ea65 (diff) |
Set rconsole width for Nvim-R
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,5 +1,5 @@ " vimrc of Johannes Ranke -" Last Change: Mon May 22, 2017 at 07:20 PM +0200 +" Last Change: Tue Sep 12, 2017 at 09:52 AM +0200 " default settings (much is handled by tpope/sensible) {{{1 set ts=2 set sw=2 @@ -53,7 +53,8 @@ else let R_assign = 0 let R_pdfviewer = 'okular' let R_openpdf = 0 - let R_min_editor_width = 100 + let R_min_editor_width = 100 + let R_rconsole_width = 80 "let R_in_buffer = 0 "let RStudio_cmd = '/usr/bin/rstudio' endif @@ -102,7 +103,7 @@ map <F10> :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans \ . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" \ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR> -" Show syntax highlighting group in status line +" Show syntax highlighting group in status line " http://vim.wikia.com/wiki/Showing_syntax_highlight_group_in_statusline function! SyntaxItem() return synIDattr(synID(line("."),col("."),1),"name") @@ -123,7 +124,7 @@ nnoremap <A-h> <C-w>h nnoremap <A-j> <C-w>j nnoremap <A-k> <C-w>k nnoremap <A-l> <C-w>l -if has('nvim') +if has('nvim') tnoremap <A-h> <C-\><C-n><C-w>h tnoremap <A-j> <C-\><C-n><C-w>j tnoremap <A-k> <C-\><C-n><C-w>k |