From 440a3d2114618764b19035a53e896ae657fe7ef9 Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Wed, 31 May 2023 09:49:49 -0600 Subject: [PATCH] Update --- .config/nvim/init.vim | 11 ++++++----- .tmux.conf | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index f58cb6c..37a8a9e 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -101,7 +101,7 @@ let mapleader = "\" let maplocalleader = "\" let g:syntastic_c_compiler_options = "-std=c99" -set guicursor= +set guicursor=v-c-sm:block,n-i-ci-ve:ver25,r-cr-o:hor20 " inoremap vmark ✓ @@ -568,6 +568,7 @@ endif nnoremap K :grep! "\b\b":cw set switchbuf+=usetab,newtab + autocmd FileType rescript nnoremap r :RescriptFormat autocmd FileType rescript nnoremap t :RescriptTypeHint autocmd FileType rescript nnoremap b :RescriptBuild @@ -575,8 +576,6 @@ autocmd FileType rescript nnoremap gd :RescriptJumpToDefinitio let g:asyncomplete_auto_completeopt=0 - - " Set internal encoding of vim, not needed on neovim, since coc.nvim using some " unicode characters in the file autoload/float.vim set encoding=utf-8 @@ -858,7 +857,7 @@ EOF lua << EOF require'nvim-treesitter.configs'.setup { -- A list of parser names, or "all" (the four listed parsers should always be installed) - ensure_installed = { "c", "lua", "vim", "help", "go" }, + ensure_installed = { "c", "lua", "vim", "help", "go", "python" }, -- Install parsers synchronously (only applied to `ensure_installed`) sync_install = false, @@ -880,7 +879,7 @@ require'nvim-treesitter.configs'.setup { -- disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is -- the name of the parser) -- list of language that will be disabled - disable = { }, + disable = { "python", "nim" }, -- Setting this to true will run `:h syntax` and tree-sitter at the same time. -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). @@ -1055,3 +1054,5 @@ nmap :CocCommand java.debug.vimspector.start " Nim: replace comment above with comment below let @t = '/^proc ?^\_[\n]## V/\_[€kb€kb€kb^\_[\n\€kb]prc€kboc m/\.} pdd' +let &t_SI = "\e[5 q" +let &t_EI = "\e[2 q" diff --git a/.tmux.conf b/.tmux.conf index 75a2f33..242dde6 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -12,7 +12,8 @@ set-option -s default-terminal "tmux-256color" set-option -sa terminal-overrides ",xterm-256color:RGB" set-option -sa terminal-overrides ",xterm-255color*:Tc" -set -ga terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q' +set -ga terminal-overrides ',*:Tc' +set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q' # Default terminal is 256 colors #set -g default-terminal "screen-256color" # colors!