Compare commits

...

2 Commits

Author SHA1 Message Date
Joachim Nielandt
4df385648b Fixed 'dancing font' in line numbers 2023-05-03 11:38:37 +02:00
Joachim Nielandt
0fa84e6192 Added ideavimrc dotfile 2023-05-03 11:37:55 +02:00
2 changed files with 40 additions and 2 deletions

View File

@ -42,13 +42,14 @@
;; doom-variable-pitch-font (font-spec :family "Fira Sans" :size 13))
;;
;; (font-spec :family "Fira Sans") ; nice, but not mono
(setq doom-font (font-spec :family "Hasklug Nerd Font")
doom-unicode-font (font-spec :family "Hasklug Nerd Font Mono")
(setq doom-font (font-spec :family "Hasklug Nerd Font Mono")
;; doom-unicode-font (font-spec :family "Hasklug Nerd Font Mono"))
doom-variable-pitch-font (font-spec :family "Fira Sans"))
;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type 'relative)
(setq display-line-numbers-widen 'true)
;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads!

37
dot_ideavimrc Normal file
View File

@ -0,0 +1,37 @@
" .ideavimrc is a configuration file for IdeaVim plugin. It uses
" the same commands as the original .vimrc configuration.
" You can find a list of commands here: https://jb.gg/h38q75
" Find more examples here: https://jb.gg/share-ideavimrc
" Source your .vimrc
source ~/.vimrc
"" -- Suggested options --
" 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
" --- Enable IdeaVim plugins https://jb.gg/ideavim-plugins
" Highlight copied text
Plug 'machakann/vim-highlightedyank'
" Commentary plugin
Plug 'tpope/vim-commentary'
"" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t
"" Map \r to the Reformat Code action
"map \r <Action>(ReformatCode)
"" Map <leader>d to start debug
"map <leader>d <Action>(Debug)
"" Map \b to toggle the breakpoint on the current line
"map \b <Action>(ToggleLineBreakpoint)
set ideajoin