Learn about sc
This commit is contained in:
parent
2d5c3c6330
commit
5729004665
3 changed files with 6 additions and 2 deletions
|
@ -120,6 +120,8 @@ nnoremap <leader>j :bprevious<CR>
|
|||
nnoremap <C-k> :bnext<CR>
|
||||
nnoremap <C-j> :bprevious<CR>
|
||||
|
||||
nnoremap <leader>r :source ~/.config/nvim/init.vim<CR>
|
||||
|
||||
" change buffers with leader,tab
|
||||
nnoremap <leader><Tab> :bnext<CR>
|
||||
nnoremap <leader><S-Tab> :bprevious<CR>
|
||||
|
|
|
@ -91,5 +91,5 @@ function sc_rollres(c, r)
|
|||
math.randomseed(seed)
|
||||
log("Setting Seed: " .. tostring(seed))
|
||||
local sum = sc_parserollstr(sc.lgetstr(c, r))
|
||||
sc.lsetstr(c + 1, r, tostring(sum))
|
||||
sc.lsetnum(c, r, sum)
|
||||
end
|
||||
|
|
|
@ -11,5 +11,7 @@ color "type=STRG fg=WHITE bg=BLACK bold=0 dim=1"
|
|||
color "type=NUMB fg=YELLOW bg=BLACK bold=0 dim=1"
|
||||
|
||||
nmap "J" "<C-j>"
|
||||
nmap "fi" ":format \"#\"<cr>"
|
||||
nmap "fi" ":format \"0\"<cr>"
|
||||
nmap "B" "Vir"
|
||||
nmap " " "E<cr>k"
|
||||
|
||||
|
|
Reference in a new issue