Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dotfiles
vim
Commits
586b6ef6
Commit
586b6ef6
authored
Nov 13, 2020
by
Henrik Tjäder
Browse files
Options
Downloads
Patches
Plain Diff
Tools for writing thesis, smart quotes
parent
eb6b21a6
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.vim/coc-settings.json
+1
-1
1 addition, 1 deletion
.vim/coc-settings.json
.vim/spell/sv.utf-8.add
+27
-0
27 additions, 0 deletions
.vim/spell/sv.utf-8.add
.vimrc
+21
-0
21 additions, 0 deletions
.vimrc
with
49 additions
and
1 deletion
.vim/coc-settings.json
+
1
−
1
View file @
586b6ef6
...
@@ -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"
},
},
...
...
This diff is collapsed.
Click to expand it.
.vim/spell/sv.utf-8.add
+
27
−
0
View file @
586b6ef6
...
@@ -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
This diff is collapsed.
Click to expand it.
.vimrc
+
21
−
0
View file @
586b6ef6
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment