Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • master
1 result

Target

Select target project
  • dotfiles/vim
1 result
Select Git revision
  • master
1 result
Show changes
Commits on Source (4)
...@@ -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"
......
/home/henrik/.vimrc
\ No newline at end of file
:source $HOME/.vimrc
...@@ -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<Cnmap <Leader>/ <Plug>NERDCommenterToggleR>: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>
......