mirror of
https://github.com/kristoferssolo/solorice.git
synced 2026-03-18 08:09:40 +00:00
Transfered aliases from zshrc to aliasrc
This commit is contained in:
@@ -28,7 +28,7 @@ local function footer()
|
||||
-- local fortune = handle:read('*a')
|
||||
-- handle:close()
|
||||
-- return fortune
|
||||
return "chrisatmachine.com"
|
||||
return ""
|
||||
end
|
||||
|
||||
dashboard.section.footer.val = footer()
|
||||
|
||||
@@ -19,8 +19,8 @@ vim.cmd([[
|
||||
|
||||
augroup _markdown
|
||||
autocmd!
|
||||
autocmd FileType markdown setlocal wrap
|
||||
autocmd FileType markdown setlocal spell
|
||||
autocmd FileType markdown,vimwiki setlocal wrap
|
||||
autocmd FileType markdown,vimwiki setlocal spell
|
||||
augroup end
|
||||
|
||||
augroup _auto_resize
|
||||
@@ -40,6 +40,7 @@ vim.cmd([[
|
||||
|
||||
augroup _run
|
||||
autocmd!
|
||||
autocmd FileType python imap <buffer> <C-b> <esc><cmd>w<CR><cmd>exec '!python3' shellescape(@%, 1)<CR>
|
||||
autocmd FileType python map <buffer> <C-b> <cmd>w<CR><cmd>exec '!python3' shellescape(@%, 1)<CR>
|
||||
autocmd FileType rust imap <buffer> <C-b> <esc><cmd>w<CR><cmd>exec '!cargo run'<CR>
|
||||
autocmd FileType rust map <buffer> <C-b> <cmd>w<CR><cmd>exec '!cargo run'<CR>
|
||||
|
||||
@@ -66,7 +66,6 @@ return packer.startup(function(use)
|
||||
|
||||
-- Vimwiki
|
||||
use("vimwiki/vimwiki")
|
||||
use("jbyuki/carrot.nvim")
|
||||
|
||||
-- Colorschemes
|
||||
use("Mofiqul/dracula.nvim")
|
||||
|
||||
Reference in New Issue
Block a user