mapping to pwgen
This commit is contained in:
parent
ae02f8362f
commit
3af0c45c30
3
.vimrc
3
.vimrc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user