wayland work
This commit is contained in:
30
.vimrc
30
.vimrc
@@ -79,7 +79,7 @@ Plug 'majutsushi/tagbar'
|
||||
"Linting
|
||||
" Plug 'neomake/neomake'
|
||||
" Plug 'w0rp/ale'
|
||||
|
||||
|
||||
"Syntax
|
||||
" Plug 'sheerun/vim-polyglot'
|
||||
" Plug 'matthewbdaly/vim-filetype-settings'
|
||||
@@ -89,6 +89,7 @@ Plug 'majutsushi/tagbar'
|
||||
"External languages
|
||||
" Plug 'Vigemus/iron.nvim'
|
||||
" Plug 'bfredl/nvim-ipy'
|
||||
" Plug 'jpalardy/vim-slime'
|
||||
" Plug 'jalvesaq/Nvim-R'
|
||||
" Plug 'python-mode/python-mode', { 'branch': 'develop' }
|
||||
|
||||
@@ -149,15 +150,33 @@ let g:tagbar_type_bib = {
|
||||
"Python repl config
|
||||
let g:python_host_prog = '/usr/bin/python3'
|
||||
let g:loaded_python3_provider = 1
|
||||
" let g:slime_target = 'neovim'
|
||||
|
||||
":vertical terminal ipython
|
||||
"set updatetime=100
|
||||
|
||||
"split navigations
|
||||
" nnoremap <C-J> <C-W><C-J>
|
||||
" nnoremap <C-K> <C-W><C-K>
|
||||
" nnoremap <C-L> <C-W><C-L>
|
||||
" nnoremap <C-H> <C-W><C-H>
|
||||
|
||||
"nnoremap yr :IronRepl<cr>
|
||||
"nmap ,r <Plug>(iron-send-motion)
|
||||
"xmap ,r <Plug>(iron-send-motion)
|
||||
"nmap yR V,r
|
||||
|
||||
"R repl config
|
||||
"" start R with F2 key
|
||||
"" map <F2> <Plug>RStart
|
||||
"" imap <F2> <Plug>RStart
|
||||
"" vmap <F2> <Plug>RStart
|
||||
"" R version can be specified like this:
|
||||
"" let vimrplugin_r_path = '/opt/R/3.1.2-release/bin/R'
|
||||
"" Send selection or line to R with space bar, respectively.
|
||||
" vmap <Space> <Plug>RDSendSelection
|
||||
" nmap <Space> <Plug>RDSendLine
|
||||
|
||||
"Neomake config
|
||||
" Full config: when writing or reading a buffer, and on changes in insert and
|
||||
" normal mode (after 1s; no delay when writing).
|
||||
@@ -172,6 +191,11 @@ set expandtab
|
||||
" set hlsearch
|
||||
" set spell
|
||||
|
||||
" au BufNewFile,BufRead *.js, *.html, *.css
|
||||
" \ set tabstop=2
|
||||
" \ set softtabstop=2
|
||||
" \ set shiftwidth=2
|
||||
"
|
||||
"Mouse/trackpad pointer config
|
||||
" set mouse=a "already set by defaults.vim
|
||||
set mouse=n
|
||||
@@ -192,7 +216,7 @@ imap jjw <ESC>:update<enter>
|
||||
" Two semicolons are easy to type. The `^ fixes the cursor position.
|
||||
imap ;; <ESC>`^
|
||||
inoremap <Tab> <Esc>`^
|
||||
" imap jk <ESC>`^
|
||||
" imap k <ESC>`^
|
||||
" Just press Space to enter insert mode while in normal mode.
|
||||
nmap <Space> i
|
||||
" On gvim and Linux console Vim, you can also use ctrl-Space.
|
||||
@@ -258,7 +282,7 @@ if has("gui_running")
|
||||
":set go+=m or go-=m to toggle menu
|
||||
colorscheme base16-ocean
|
||||
autocmd VimEnter * Goyo
|
||||
autocmd VimEnter * Limelight0.9
|
||||
autocmd VimEnter * Limelight0.8
|
||||
"Switch cursor blink rate to 0msec
|
||||
set guicursor+=a:blinkon0
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user