User Tools

Site Tools


linux_og_unix:vim
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
Last revision
linux_og_unix:vim [2023/09/11 19:28] martin
Line 1: Line 1:
 +[[linux_og_unix:start|Tilbage til Linux og Unix]]
  
 +===== VIM =====
 +
 +  * [[https://sanctum.geek.nz/arabesque/vim-koans|VIM Koans]]
 +
 +Min .vimrc siger p.t. sådan her ud:
 +<code>
 +
 +syntax enable
 +
 +map! ¤ ansible.builtin.
 +
 +filetype plugin indent on
 +
 +set tabstop=2
 +set shiftwidth=2
 +set autoindent
 +set expandtab
 +set hlsearch
 +set incsearch
 +set mouse=a
 +set nobackup
 +set nocompatible
 +set noerrorbells
 +set noswapfile
 +set number
 +set showcmd
 +set title
 +set wildignore=*.class
 +set wildmode=longest,list,full
 +
 +map <F3> <C-]>
 +map <F4> <C-t>
 +
 +nnoremap <CR> :let @/=""<CR><CR>
 +nnoremap <silent> <C-l> :<C-u>nohlsearch<CR><C-l>
 +
 +colo candy
 +
 +</code>
 +
 +
 +candy farver kan hentes på: http://www.vim.org/scripts/script.php?script_id=282
 +
 +rainbow farver kan hentes på: http://www.vim.org/scripts/script.php?script_id=463
linux_og_unix/vim.txt · Last modified: 2023/10/21 19:19 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki