mapping to pwgen

This commit is contained in:
Jonas Forsberg 2022-03-15 14:17:33 +01:00
parent ae02f8362f
commit 3af0c45c30
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

3
.vimrc
View File

@ -22,7 +22,6 @@ function! Spelling(lang)
endif endif
endfunction endfunction
nnoremap <Left> :echo "No left for you!"<CR> nnoremap <Left> :echo "No left for you!"<CR>
vnoremap <Left> :<C-u>echo "No left for you!"<CR> vnoremap <Left> :<C-u>echo "No left for you!"<CR>
inoremap <Left> <C-o>:echo "No left for you!"<CR> inoremap <Left> <C-o>:echo "No left for you!"<CR>
@ -48,12 +47,14 @@ syntax on
nnoremap <SPACE> <Nop> nnoremap <SPACE> <Nop>
let mapleader=" " let mapleader=" "
map <Leader>ss :call FixLastSpellingError()<CR> map <Leader>ss :call FixLastSpellingError()<CR>
map <Leader>u1 :call MakeHeading(1)<CR> map <Leader>u1 :call MakeHeading(1)<CR>
map <Leader>u2 :call MakeHeading(2)<CR> map <Leader>u2 :call MakeHeading(2)<CR>
map <Leader>ls :call Spelling("sv")<CR> map <Leader>ls :call Spelling("sv")<CR>
map <Leader>le :call Spelling("en")<CR> map <Leader>le :call Spelling("en")<CR>
map <Leader>lo :call Spelling("off")<CR> map <Leader>lo :call Spelling("off")<CR>
map <Leader>pass :r! pwgen 25 1<CR>
filetype indent plugin on filetype indent plugin on