Skip to content
Snippets Groups Projects
Commit 586b6ef6 authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

Tools for writing thesis, smart quotes

parent eb6b21a6
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"diagnostic-languageserver.filetypes": { "diagnostic-languageserver.filetypes": {
"vim": "vint", "vim": "vint",
"email": "languagetool", "email": "languagetool",
"markdown": ["languagetool", "write-good", "proselint", "alex" ], "markdown": ["write-good", "proselint"],
"text": [ "write-good", "proselint", "alex" ], "text": [ "write-good", "proselint", "alex" ],
"sh": "shellcheck" "sh": "shellcheck"
}, },
......
...@@ -300,3 +300,30 @@ Aparicio ...@@ -300,3 +300,30 @@ Aparicio
enums enums
SLOC SLOC
prepopulates prepopulates
yaml
env
wg
GHA
CamelCase
Clippy
RTOS
protothreads
stackless
contiki
async
clippy
Clippit
seL4
microkernel
metaprogramming
HashMap
HashSet
RTOSes
PRs
unsafety
Mutex
heapless
OOM
bugfixes
BTreeMap
MSRV
...@@ -84,6 +84,10 @@ else ...@@ -84,6 +84,10 @@ else
"Python-mode "Python-mode
Plug 'python-mode/python-mode' Plug 'python-mode/python-mode'
" Smart quotes suppor
Plug 'reedes/vim-textobj-quote'
Plug 'kana/vim-textobj-user'
endif endif
" Candidate for inclusion into my main plugins " Candidate for inclusion into my main plugins
...@@ -243,6 +247,11 @@ let maplocalleader = "," ...@@ -243,6 +247,11 @@ let maplocalleader = ","
set t_Co=256 set t_Co=256
set background=light set background=light
" When Tmux 'focus-events' option is on, Tmux will send <Esc>[O when the
" window loses focus and <Esc>[I when it gains focus.
exec "set <F24>=\<Esc>[O"
exec "set <F25>=\<Esc>[I"
" Modify PaperColor to have white background " Modify PaperColor to have white background
let g:PaperColor_Theme_Options = { let g:PaperColor_Theme_Options = {
\ 'theme': { \ 'theme': {
...@@ -394,6 +403,18 @@ let vim_markdown_preview_use_xdg_open=1 ...@@ -394,6 +403,18 @@ let vim_markdown_preview_use_xdg_open=1
let vim_markdown_preview_hotkey='<C-m>' let vim_markdown_preview_hotkey='<C-m>'
let vim_markdown_preview_github=1 let vim_markdown_preview_github=1
" For smart quotes in markdown and text
augroup textobj_quote
autocmd!
autocmd FileType markdown call textobj#quote#init()
autocmd FileType textile call textobj#quote#init()
autocmd FileType text call textobj#quote#init({'educate': 0})
augroup END
" Keybinds for mapping between smart quotes
map <silent> <leader>qc <Plug>ReplaceWithCurly
map <silent> <leader>qs <Plug>ReplaceWithStraight
" Mouse support, downside the terminal doesn't own it anymore " Mouse support, downside the terminal doesn't own it anymore
set mouse=a set mouse=a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment