fix: link x11 clipboard to vim clipboard
This commit is contained in:
parent
59b3cc1a51
commit
ad23453ff6
2 changed files with 3 additions and 28 deletions
|
|
@ -5,6 +5,7 @@ set incsearch
|
|||
set cursorline
|
||||
set scrolloff=2
|
||||
set completeopt=menuone,noinsert
|
||||
set clipboard=unnamedplus
|
||||
|
||||
augroup FocusNumbers
|
||||
autocmd!
|
||||
|
|
@ -12,30 +13,3 @@ augroup FocusNumbers
|
|||
autocmd WinLeave,BufLeave * setlocal norelativenumber
|
||||
augroup END
|
||||
|
||||
|
||||
|
||||
let g:vimtex_view_method = 'general'
|
||||
let g:vimtex_compiler_method = 'pdflatex'
|
||||
let g:vimtex_compiler_pdflatex = {
|
||||
\ 'build_dir' : 'build',
|
||||
\ 'callback' : 1,
|
||||
\ 'continuous' : 0,
|
||||
\ 'options' : [
|
||||
\ '-verbose',
|
||||
\ '-file-line-error',
|
||||
\ '-synctex=1',
|
||||
\ '-interaction=nonstopmode',
|
||||
\ ],
|
||||
\}
|
||||
let g:vimtex_quickfix_mode = 2
|
||||
let g:vimtex_quickfix_open_on_warning = 0
|
||||
|
||||
augroup LatexAbbrev
|
||||
autocmd!
|
||||
autocmd FileType tex inoreabbrev <buffer> sec \section{}<Left>
|
||||
autocmd FileType tex inoreabbrev <buffer> ssec \subsection{}<Left>
|
||||
autocmd FileType tex inoreabbrev <buffer> bf \textbf{}<Left>
|
||||
autocmd FileType tex inoreabbrev <buffer> it \textit{}<Left>
|
||||
autocmd FileType tex inoreabbrev <buffer> href \href{}{}<Left><Left><Left>
|
||||
autocmd FileType tex inoreabbrev <buffer> enum \begin{itemize}<CR>\item<CR>\end{itemize}<Up>
|
||||
augroup END
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
" search/substitute
|
||||
nnoremap <silent> <Leader>h :nohlsearch<CR>
|
||||
nnoremap <silent> <Leader>r :registers<CR>
|
||||
nnoremap %s :%s/\v
|
||||
nnoremap <C-s> :s/\v
|
||||
vnoremap <C-s> :s/\v
|
||||
|
|
@ -14,7 +15,7 @@ nnoremap <Space>V <C-w>v<C-w>l
|
|||
|
||||
" fugitive
|
||||
nnoremap <Space>G :tab G<CR>
|
||||
nnoremap <Space>g :G<CR>
|
||||
nnoremap <Space>g :G<CR> to vim clipboard
|
||||
|
||||
" terminal / tab commands
|
||||
command -nargs=0 Vt execute "vertical term"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue