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
646baaf6
Commit
646baaf6
authored
May 28, 2022
by
Henrik Tjäder
Browse files
Options
Downloads
Patches
Plain Diff
Disable python plugins, rely on coc-pyright
parent
0a4ae25b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.vimrc
+8
-12
8 additions, 12 deletions
.vimrc
with
8 additions
and
12 deletions
.vimrc
+
8
−
12
View file @
646baaf6
...
@@ -117,13 +117,13 @@ else
...
@@ -117,13 +117,13 @@ else
" Python autopep8
" Python autopep8
"Plug 'tell-k/vim-autopep8'
"Plug 'tell-k/vim-autopep8'
Plug
'nvie/vim-flake8'
"
Plug 'nvie/vim-flake8'
" Python indentation
" Python indentation
Plug
'Vimjas/vim-python-pep8-indent'
"
Plug 'Vimjas/vim-python-pep8-indent'
"Python-mode
"Python-mode
Plug
'python-mode/python-mode'
,
{
'for'
:
'python'
,
'branch'
:
'develop'
}
"
Plug 'python-mode/python-mode', { 'for': 'python', 'branch': 'develop' }
" Smart quotes suppor
" Smart quotes suppor
Plug
'reedes/vim-textobj-quote'
Plug
'reedes/vim-textobj-quote'
...
@@ -668,13 +668,9 @@ let g:tex_conceal = ""
...
@@ -668,13 +668,9 @@ let g:tex_conceal = ""
"let g:neocomplcache_disable_auto_complete = 1
"let g:neocomplcache_disable_auto_complete = 1
" Enable spell checking when opening .tex files
" Enable spell checking when opening .tex files
autocmd
FileType
tex
setlocal
spell
spelllang
=
sv
,
en
"autocmd FileType tex setlocal spell spelllang=sv,en
autocmd
BufRead
COMMIT_EDITMSG
setlocal
spell
spelllang
=
sv
,
en
"autocmd BufRead COMMIT_EDITMSG setlocal spell spelllang=sv,en
autocmd
BufNewFile
,
BufRead
*
.
md
,
*
.
mkd
,
*
.
markdown
set
spell
spelllang
=
sv
,
en
"autocmd BufNewFile,BufRead *.md,*.mkd,*.markdown set spell spelllang=sv,en
"autocmd BufWritePre *.py :%s/\s\+$//e
"autocmd!
"au BufNewFile,BufRead *.tex setlocal spell spelllang=en_us
" For quick and easy vimrc editing
" For quick and easy vimrc editing
map
<
leader
>
vm
:
vsp $MYVIMRC
<
CR
>
map
<
leader
>
vm
:
vsp $MYVIMRC
<
CR
>
...
@@ -956,7 +952,7 @@ xmap af <Plug>(coc-funcobj-a)
...
@@ -956,7 +952,7 @@ xmap af <Plug>(coc-funcobj-a)
omap
if
<
Plug
>(
coc
-
funcobj
-
i
)
omap
if
<
Plug
>(
coc
-
funcobj
-
i
)
omap af
<
Plug
>(
coc
-
funcobj
-
a
)
omap af
<
Plug
>(
coc
-
funcobj
-
a
)
" Use <TAB> for select selections ranges, needs server support, like: coc-tsserver, coc-py
thon
" Use <TAB> for select selections ranges, needs server support, like: coc-tsserver, coc-py
right
nmap
<
silent
>
<
TAB
>
<
Plug
>(
coc
-
range
-
select
)
nmap
<
silent
>
<
TAB
>
<
Plug
>(
coc
-
range
-
select
)
xmap
<
silent
>
<
TAB
>
<
Plug
>(
coc
-
range
-
select
)
xmap
<
silent
>
<
TAB
>
<
Plug
>(
coc
-
range
-
select
)
...
@@ -993,7 +989,7 @@ nnoremap <silent> <leader>p :<C-u>CocListResume<CR>
...
@@ -993,7 +989,7 @@ nnoremap <silent> <leader>p :<C-u>CocListResume<CR>
" Rust Coc needs
" Rust Coc needs
" :CocInstall coc-rust-analyzer coc-spell-checker coc-cspell-dicts coc-json coc-markdownlint coc-yaml coc-py
thon
coc-vimtex
" :CocInstall coc-rust-analyzer coc-spell-checker coc-cspell-dicts coc-json coc-markdownlint coc-yaml coc-py
right
coc-vimtex
"
"
" For text linting to work via coc-diagnostic, install
" For text linting to work via coc-diagnostic, install
" yay -S languagetool alex proselint write-good
" yay -S languagetool alex proselint write-good
...
...
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