remove nvim mappings and colorscheme

This commit is contained in:
ktyl 2022-11-13 19:19:52 +00:00
parent 5183ed8c6c
commit 0baba7e459
1 changed files with 14 additions and 12 deletions

View File

@ -1,9 +1,21 @@
" plugins
call plug#begin()
" Make C# usable
Plug 'OmniSharp/omnisharp-vim'
" TidalCycles livecoding language
" https://tidalcycles.org/
Plug 'tidalcycles/vim-tidal'
call plug#end()
" use neovim's own terminal instead of tmux (needed for TidalCycles)
let g:tidal_target = "terminal"
" some nice defaults
set number set number
set relativenumber set relativenumber
set expandtab set expandtab
set nowrap set nowrap
set tabstop=4 set tabstop=4
set shiftwidth=4 set shiftwidth=4
set softtabstop=4 set softtabstop=4
@ -12,9 +24,6 @@ set softtabstop=4
noremap <expr> <A-j> "\<C-e>" noremap <expr> <A-j> "\<C-e>"
noremap <expr> <A-k> "\<C-y>" noremap <expr> <A-k> "\<C-y>"
noremap J 10j
noremap K 10k
" copy to system clipboard " copy to system clipboard
function! ClipboardYank() function! ClipboardYank()
call system('xclip -i -selection clipboard', @@) call system('xclip -i -selection clipboard', @@)
@ -24,10 +33,3 @@ function! ClipboardPaste()
endfunction endfunction
vnoremap <silent> <C-c> y:call ClipboardYank()<cr> vnoremap <silent> <C-c> y:call ClipboardYank()<cr>
vnoremap <silent> <C-x> d:call ClipboardYank()<cr> vnoremap <silent> <C-x> d:call ClipboardYank()<cr>
" parentheses handling
" inoremap { {}<Esc>i<CR><Esc>O<Tab>
" inoremap [ []<Esc>i
" inoremap ( ()<Esc>i
colo desert