-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
82 lines (68 loc) · 1.76 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
" ag
let g:ackprg = 'ag --nogroup --nocolor --column'
" Tim's .vimrc (with special magic powers)
set bg=dark
set splitbelow
set nocompatible
syntax enable
filetype plugin on
filetype indent on
" toggle autoindent on paste
nnoremap <F2> :set invpaste paste?<CR>
imap <F2> <C-O><F2>
set pastetoggle=<F2>
" send selections/lines to R
vmap <Space> <Plug>RDSendSelection
nmap <Space> <Plug>RDSendLine
" type __ to get <-
let R_assign=2
" default R start options
let R_args = ['--no-save', '--quiet']
let R_clear_line = 1
" get R help in the R window
let R_open_example = 0
let R_nvimpager = "no"
let R_in_buffer = 0
" {{{ Formatting options
set cino=>2
set autowrite
set backspace=indent,eol,start
set noerrorbells
set fileformat=unix
set nojoinspaces
set lazyredraw
set tabstop=2
set expandtab
set showmatch
set nocompatible
set shiftwidth=2
set nosmarttab
set smartcase
set lazyredraw
set hlsearch
" set number
" }}} formatting options
" Fold settings "{{{
set foldenable
set foldmethod=marker
"}}}
let showmarks_enable=0
let vimrplugin_tmux=1
let vimrplugin_vimpager=1
let vimrplugin_underscore=0
let vimrplugin_specialplot=1
let vimrplugin_listmethods=1
let vimrplugin_r_args="--no-save --quiet"
let vimrplugin_screenplugin=0
let vimrplugin_screenvsplit="no"
" lintr
let ale_r_lintr_options="lintr::with_defaults(object_name_linter=NULL, trailing_blank_lines_linter=NULL, trailing_whitespace_linter=NULL, infix_spaces_linter=NULL"
" styler
" let ale_r_styler_options="styler::bioc_style"
" Put these lines at the very end of your vimrc file.
" Load all plugins now.
" Plugins need to be added to runtimepath before helptags can be generated.
packloadall
" Load all of the helptags now, after plugins have been loaded.
" All messages and errors will be ignored.
silent! helptags ALL