mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-05 20:49:22 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 017d82abc5 | |||
|
|
24ad4bf5b7 | ||
| 07264c594f | |||
|
|
7b58f660ac | ||
|
|
b000f2b0c4 |
@@ -49,7 +49,7 @@ repos:
|
|||||||
- id: actionlint
|
- id: actionlint
|
||||||
|
|
||||||
- repo: https://github.com/renovatebot/pre-commit-hooks
|
- repo: https://github.com/renovatebot/pre-commit-hooks
|
||||||
rev: 40.49.12
|
rev: 40.61.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: renovate-config-validator
|
- id: renovate-config-validator
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
3.13.4
|
3.13.5
|
||||||
|
|||||||
@@ -6,10 +6,41 @@ source $HOME/.dotfiles/config/vim/vimrc
|
|||||||
let mapleader = "\<SPACE>"
|
let mapleader = "\<SPACE>"
|
||||||
|
|
||||||
set clipboard+=unnamed
|
set clipboard+=unnamed
|
||||||
|
set cursorline " Highlight current line
|
||||||
|
set nocompatible " disable compatibility mode with vi
|
||||||
|
filetype off " disable filetype detection (but re-enable later, see below)
|
||||||
|
set undolevels=1000 " Number of undo levels
|
||||||
|
set backspace=indent,eol,start " Backspace behaviour
|
||||||
|
|
||||||
|
" Show a few lines of context around the cursor. Note that this makes the
|
||||||
|
" text scroll if you mouse-click near the start or end of the window.
|
||||||
|
set scrolloff=5
|
||||||
|
|
||||||
|
" Do incremental searching.
|
||||||
|
set incsearch
|
||||||
|
|
||||||
|
" Don't use Ex mode, use Q for formatting.
|
||||||
|
map Q gq
|
||||||
|
|
||||||
|
call plug#begin('~/.config/vim/plugged')
|
||||||
|
" Plug 'ayu-theme/ayu-vim'
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
set ideajoin
|
set ideajoin
|
||||||
|
set ideastatusicon=gray
|
||||||
set ideamarks
|
set ideamarks
|
||||||
set idearefactormode=normal
|
set idearefactormode=normal
|
||||||
|
set which-key
|
||||||
|
set mini-ai
|
||||||
|
|
||||||
|
" which-key settings
|
||||||
|
" https://github.com/TheBlob42/idea-which-key
|
||||||
|
let g:WhichKey_ShowVimActions = "true"
|
||||||
|
let g:WhichKey_DefaultDelay = 600 " make the popup appear much slower
|
||||||
|
let g:WhichKey_PrefixStyle = "bold"
|
||||||
|
|
||||||
|
" disable the timeout option
|
||||||
|
set notimeout
|
||||||
|
|
||||||
" Map esc to :noh
|
" Map esc to :noh
|
||||||
map <esc> :noh<cr>
|
map <esc> :noh<cr>
|
||||||
@@ -31,7 +62,6 @@ nmap <leader>ss <Action>(GotoSymbol)
|
|||||||
nmap <leader>fl <Action>(RecentLocations)
|
nmap <leader>fl <Action>(RecentLocations)
|
||||||
nmap <leader>fc <Action>(FindInPath)
|
nmap <leader>fc <Action>(FindInPath)
|
||||||
nmap <leader>fr <Action>(RecentFiles)
|
nmap <leader>fr <Action>(RecentFiles)
|
||||||
nmap <leader>fe :NERDTreeToggle<CR>
|
|
||||||
nmap <Leader>fu :action FindUsages<CR>
|
nmap <Leader>fu :action FindUsages<CR>
|
||||||
nmap <Leader>ff :action GotoFile<CR>
|
nmap <Leader>ff :action GotoFile<CR>
|
||||||
nmap <leader>fi <Action>(SelectIn)
|
nmap <leader>fi <Action>(SelectIn)
|
||||||
@@ -186,25 +216,14 @@ nmap <C-a> :action AddToHarpoon<cr>
|
|||||||
|
|
||||||
" ---
|
" ---
|
||||||
|
|
||||||
set cursorline " Highlight current line
|
|
||||||
set nocompatible " disable compatibility mode with vi
|
|
||||||
filetype off " disable filetype detection (but re-enable later, see below)
|
|
||||||
set undolevels=1000 " Number of undo levels
|
|
||||||
set backspace=indent,eol,start " Backspace behaviour
|
|
||||||
|
|
||||||
" Don't use Ex mode, use Q for formatting.
|
|
||||||
map Q gq
|
|
||||||
|
|
||||||
syntax enable
|
syntax enable
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
call plug#begin('~/.config/vim/plugged')
|
|
||||||
" Plug 'ayu-theme/ayu-vim'
|
|
||||||
call plug#end()
|
|
||||||
|
|
||||||
set termguicolors
|
set termguicolors
|
||||||
|
|
||||||
if has('gui_running')
|
if has('gui_running')
|
||||||
set macligatures
|
set macligatures
|
||||||
set guifont=JetBrainsMono:h14
|
set guifont=JetBrainsMono:h14
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" vim: set filetype=vim :
|
||||||
@@ -39,6 +39,6 @@ for dir in "$@"; do
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Append the directory to PATH.
|
# Append the directory to PATH.
|
||||||
export PATH="${PATH:+"$PATH:"}$dir"
|
export PATH="${PATH:+$PATH:}$dir"
|
||||||
[ "$VERBOSE" -eq 1 ] && echo "Appended '$dir' to PATH."
|
[ "$VERBOSE" -eq 1 ] && echo "Appended '$dir' to PATH."
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user