dashboard + FTerm, look i'm sorry okay
This commit is contained in:
parent
fc96c7f620
commit
aa0e2d0101
|
@ -79,6 +79,8 @@ in
|
||||||
nvim-treesitter
|
nvim-treesitter
|
||||||
nvim-treesitter-context
|
nvim-treesitter-context
|
||||||
cmp-treesitter
|
cmp-treesitter
|
||||||
|
dashboard-nvim
|
||||||
|
FTerm-nvim
|
||||||
|
|
||||||
# kitaab stuff
|
# kitaab stuff
|
||||||
vimwiki
|
vimwiki
|
||||||
|
@ -249,9 +251,17 @@ in
|
||||||
map <leader>zo :ZettelOpen<CR>
|
map <leader>zo :ZettelOpen<CR>
|
||||||
map <leader>zn :ZettelNew<CR>
|
map <leader>zn :ZettelNew<CR>
|
||||||
|
|
||||||
" NERDTree
|
let g:mapleader="\<Space>"
|
||||||
" open on directory
|
let g:dashboard_default_executive = 'telescope'
|
||||||
autocmd StdinReadPre * let s:std_in=1
|
nmap <Leader>ss :<C-u>SessionSave<CR>
|
||||||
|
nmap <Leader>sl :<C-u>SessionLoad<CR>
|
||||||
|
nnoremap <silent> <Leader>fh :DashboardFindHistory<CR>
|
||||||
|
nnoremap <silent> <Leader>ff :DashboardFindFile<CR>
|
||||||
|
nnoremap <silent> <Leader>tc :DashboardChangeColorscheme<CR>
|
||||||
|
nnoremap <silent> <Leader>fa :DashboardFindWord<CR>
|
||||||
|
nnoremap <silent> <Leader>fb :DashboardJumpMark<CR>
|
||||||
|
nnoremap <silent> <Leader>cn :DashboardNewFile<CR>
|
||||||
|
autocmd FileType dashboard set showtabline=0 | autocmd WinLeave <buffer> set showtabline=2
|
||||||
|
|
||||||
" fzf
|
" fzf
|
||||||
let g:fzf_layout = { 'window': { 'width': 0.8, 'height': 0.8 } }
|
let g:fzf_layout = { 'window': { 'width': 0.8, 'height': 0.8 } }
|
||||||
|
@ -395,6 +405,11 @@ require('lint').linters_by_ft = {
|
||||||
python = {'black'}
|
python = {'black'}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- f_term
|
||||||
|
local map = vim.api.nvim_set_keymap
|
||||||
|
local opts = { noremap = true, silent = true }
|
||||||
|
map('n', '<C-i>', '<CMD>lua require("FTerm").toggle()<CR>', opts)
|
||||||
|
map('t', '<A-i>', '<C-\\><C-n><CMD>lua require("FTerm").toggle()<CR>', opts)
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue