Compare commits

..

No commits in common. "b3ae39a8308be023e319db488c5febbe33f6f8c5" and "24c0fa0a6291ab1b78aff7dd7066e9eb23824e60" have entirely different histories.

3 changed files with 8 additions and 9 deletions

View file

@ -78,13 +78,9 @@ autocmd CursorHold * silent call CocActionAsync('highlight')
" Symbol renaming
nmap <leader>rn <Plug>(coc-rename)
" Formatting all code
vmap <leader>F <Plug>(coc-format-selected)
nmap <leader>F <Plug>(coc-format-selected)
" Formatting selected code
xmap <leader>f :call CocActionAsync('format')<CR>
nmap <leader>f :call CocActionAsync('format')<CR>
xmap <leader>f <Plug>(coc-format-selected)
nmap <leader>f <Plug>(coc-format-selected)
augroup mygroup
autocmd!

View file

@ -14,7 +14,7 @@ set autoindent " indent a new line the same amount as the line just
set number " add line numbers
set wildmode=longest,list " get bash-like tab completions
set cc=100 " set an 100 column border for good coding style
set mouse=hr " enable mouse for help file editing and hitting prompts
set mouse=a " enable mouse click
set cursorline " highlight current cursor line
set ttyfast " Speed up scrolling in Vim
set fdm=indent " folding method syntax

View file

@ -122,8 +122,6 @@ runtime coc.vim
" slime (sends stuff to other programs, like ipython)
let g:slime_target = "neovim"
nmap <C-c>a ggvG:SlimeSend<CR>
nmap <leader>cs :SlimeConfig<CR>
"------------------------------------------------------
lua << EOF
@ -192,4 +190,9 @@ dimensions = {
vim.keymap.set('n', '<F12>', '<CMD>lua require("FTerm").toggle()<CR>')
vim.keymap.set('t', '<F12>', '<C-\\><C-n><CMD>lua require("FTerm").toggle()<CR>')
-- slime
-- get id of a terminal, FloatTerm is usually 7, but I should rice this more
vim.g.slime_get_jobid = function()
return 7
end
EOF