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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dotfiles
vim
Compare revisions
fa3f39b0f7150890136d69e95ab063f49e071023 to 1e59971b528e773bde647951ba54e8398e1d2b7c
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
dotfiles/vim
Select target project
No results found
1e59971b528e773bde647951ba54e8398e1d2b7c
Select Git revision
Branches
master
1 result
Swap
Target
dotfiles/vim
Select target project
dotfiles/vim
1 result
fa3f39b0f7150890136d69e95ab063f49e071023
Select Git revision
Branches
master
1 result
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (4)
Spelling
· 78767582
Henrik Tjäder
authored
2 years ago
78767582
Disable TMUX plugin when fully zoomed in
· eda5f42a
Henrik Tjäder
authored
2 years ago
eda5f42a
Inspired by Helix
· c6b04863
Henrik Tjäder
authored
2 years ago
c6b04863
Use an import instead, no need to fiddle with links
· 1e59971b
Henrik Tjäder
authored
2 years ago
1e59971b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.config/nvim/coc-settings.json
+8
-0
8 additions, 0 deletions
.config/nvim/coc-settings.json
.config/nvim/init.vim
+1
-1
1 addition, 1 deletion
.config/nvim/init.vim
.config/nvim/init.vim
+1
-1
1 addition, 1 deletion
.config/nvim/init.vim
.vimrc
+8
-1
8 additions, 1 deletion
.vimrc
with
18 additions
and
3 deletions
.config/nvim/coc-settings.json
View file @
1e59971b
...
@@ -501,6 +501,7 @@
...
@@ -501,6 +501,7 @@
"RxFifo1"
,
"RxFifo1"
,
"Rxbc"
,
"Rxbc"
,
"SAME54"
,
"SAME54"
,
"SAMPO"
,
"SBPDIS"
,
"SBPDIS"
,
"SCFQ"
,
"SCFQ"
,
"SCHED"
,
"SCHED"
,
...
@@ -512,6 +513,7 @@
...
@@ -512,6 +513,7 @@
"SENSELSB"
,
"SENSELSB"
,
"SENSEMSB"
,
"SENSEMSB"
,
"SIGCFG"
,
"SIGCFG"
,
"SIGINT"
,
"SLOC"
,
"SLOC"
,
"SMT"
,
"SMT"
,
"SPI"
,
"SPI"
,
...
@@ -918,6 +920,7 @@
...
@@ -918,6 +920,7 @@
"ipct"
,
"ipct"
,
"iser"
,
"iser"
,
"itm"
,
"itm"
,
"jlink"
,
"jokertecken"
,
"jokertecken"
,
"json"
,
"json"
,
"kByte"
,
"kByte"
,
...
@@ -927,6 +930,7 @@
...
@@ -927,6 +930,7 @@
"keygen"
,
"keygen"
,
"keymaps"
,
"keymaps"
,
"keysize"
,
"keysize"
,
"killpg"
,
"klee"
,
"klee"
,
"kodlistningar"
,
"kodlistningar"
,
"konferensbidrag"
,
"konferensbidrag"
,
...
@@ -1106,6 +1110,7 @@
...
@@ -1106,6 +1110,7 @@
"revtree"
,
"revtree"
,
"rfcs"
,
"rfcs"
,
"rhien"
,
"rhien"
,
"riscv"
,
"rmdis"
,
"rmdis"
,
"rmen"
,
"rmen"
,
"rstc"
,
"rstc"
,
...
@@ -1134,8 +1139,10 @@
...
@@ -1134,8 +1139,10 @@
"semihosting"
,
"semihosting"
,
"sensemode"
,
"sensemode"
,
"seqno"
,
"seqno"
,
"sercfg"
,
"sercom"
,
"sercom"
,
"setew"
,
"setew"
,
"setpgrp"
,
"sflash"
,
"sflash"
,
"sfooter"
,
"sfooter"
,
"shutoff"
,
"shutoff"
,
...
@@ -1277,6 +1284,7 @@
...
@@ -1277,6 +1284,7 @@
"xshell"
,
"xshell"
,
"xtalen"
,
"xtalen"
,
"xtask"
,
"xtask"
,
"xterm"
,
"yaml"
,
"yaml"
,
"zcvf"
,
"zcvf"
,
"ämnesvalet"
"ämnesvalet"
...
...
This diff is collapsed.
Click to expand it.
.config/nvim/init.vim
deleted
120000 → 0
View file @
fa3f39b0
/home/
henrik/
.
vimrc
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.config/nvim/init.vim
0 → 100644
View file @
1e59971b
:
source
$HOME/
.
vimrc
This diff is collapsed.
Click to expand it.
.vimrc
View file @
1e59971b
...
@@ -347,6 +347,9 @@ exec "set <F25>=\<Esc>[I"
...
@@ -347,6 +347,9 @@ exec "set <F25>=\<Esc>[I"
" https://unix.stackexchange.com/questions/329641/can-i-remap-ctrl-j-and-ctrl-k-in-vim
" https://unix.stackexchange.com/questions/329641/can-i-remap-ctrl-j-and-ctrl-k-in-vim
let
g:C_Ctrl_j
=
'off'
let
g:C_Ctrl_j
=
'off'
" Disable tmux navigator when zooming the Vim pane
let
g:tmux_navigator_disable_when_zoomed
=
1
" You might have to force true color when using regular vim inside tmux as the
" You might have to force true color when using regular vim inside tmux as the
" colorscheme can appear to be grayscale with "termguicolors" option enabled.
" colorscheme can appear to be grayscale with "termguicolors" option enabled.
if
!
has
(
'gui_running'
)
&& &
term
=~
'^\%(screen\|tmux\)'
if
!
has
(
'gui_running'
)
&& &
term
=~
'^\%(screen\|tmux\)'
...
@@ -513,7 +516,7 @@ nmap <leader>tb :TagbarToggle<CR>
...
@@ -513,7 +516,7 @@ nmap <leader>tb :TagbarToggle<CR>
" CTRL + \ Open definition in new tab
" CTRL + \ Open definition in new tab
" ALT + ] open the definition in a vertical split
" ALT + ] open the definition in a vertical split
map
<
C
-
\
>
:
tab
split
<
CR
>:
exec
(
"tag "
.
expand
(
"<cword>"
))<
CR
>
map
<
C
-
\
>
:
tab
split
<
C
nmap
<
Leader
>
/
<
Plug
>
NERDCommenterToggle
R
>:
exec
(
"tag "
.
expand
(
"<cword>"
))<
CR
>
map
<
A
-]>
:
vsp
<
CR
>:
exec
(
"tag "
.
expand
(
"<cword>"
))<
CR
>
map
<
A
-]>
:
vsp
<
CR
>:
exec
(
"tag "
.
expand
(
"<cword>"
))<
CR
>
...
@@ -540,6 +543,10 @@ let g:NERDCustomDelimiters = {
...
@@ -540,6 +543,10 @@ let g:NERDCustomDelimiters = {
\
'robot'
:
{
'left'
:
'#'
},
\
'robot'
:
{
'left'
:
'#'
},
\
}
\
}
" Bind <Ctrl-C> to toggle comments, like in Helix
nmap
<
C
-
c
>
<
Plug
>
NERDCommenterToggle
xmap
<
C
-
c
>
<
Plug
>
NERDCommenterToggle
" CHADtree
" CHADtree
nnoremap
<
leader
>
n
<
cmd
>
CHADopen
<
cr
>
nnoremap
<
leader
>
n
<
cmd
>
CHADopen
<
cr
>
nnoremap
<
leader
>
l
<
cmd
>
call
setqflist
([])<
cr
>
nnoremap
<
leader
>
l
<
cmd
>
call
setqflist
([])<
cr
>
...
...
This diff is collapsed.
Click to expand it.