nix format doesn't like tabs
This commit is contained in:
parent
779a0243d6
commit
49d9907b32
|
@ -171,6 +171,7 @@ in
|
|||
|
||||
" tabs
|
||||
nmap <leader>rt :retab!<CR>
|
||||
vmap <leader>rt :retab!<CR>
|
||||
|
||||
let mapleader = "\<Space>"
|
||||
let maplocalleader = ","
|
||||
|
@ -256,6 +257,9 @@ in
|
|||
nmap <leader>gl :diffget //2
|
||||
nmap <leader>gc :GBranches<CR>
|
||||
nnoremap <leader>gp :Git! push<CR>
|
||||
nnoremap <leader>gd :Gdiff<CR>
|
||||
nnoremap <space>gt :Gcommit -v -q %:p<CR>
|
||||
nnoremap <Leader>gb :Gblame<CR>
|
||||
|
||||
" kitaab
|
||||
map <leader>zs :ZettelSearch<CR>
|
||||
|
@ -269,13 +273,13 @@ in
|
|||
nmap <Leader>sl :<C-u>SessionLoad<CR>
|
||||
nnoremap <silent> <Leader>fh :DashboardFindHistory<CR>
|
||||
nnoremap <silent> <Leader>ff :DashboardFindFile<CR>
|
||||
nnoremap <silent> <Leader>fa :DashboardFindWord<CR>
|
||||
nnoremap <silent> <Leader>fm :DashboardJumpMark<CR>
|
||||
nnoremap <silent> <Leader>cn :DashboardNewFile<CR>
|
||||
nnoremap <silent> <Leader>tn :tabnew<CR>
|
||||
autocmd FileType dashboard set showtabline=0 | autocmd WinLeave <buffer> set showtabline=2
|
||||
|
||||
" fzf
|
||||
" not sure we even use this
|
||||
let g:fzf_layout = { 'window': { 'width': 0.8, 'height': 0.8 } }
|
||||
|
||||
" lsp commands
|
||||
|
@ -286,7 +290,7 @@ in
|
|||
nnoremap <leader>vrn :lua vim.lsp.buf.rename()<CR>
|
||||
nnoremap <leader>vh :lua vim.lsp.buf.hover()<CR>
|
||||
nnoremap <leader>vca :lua vim.lsp.buf.code_action()<CR>
|
||||
nnoremap <leader>vsd :lua vim.lsp.diagnostic.show_line_diagnostics(); vim.lsp.util.show_line_diagnostics()<CR>
|
||||
nnoremap <leader>vsd :lua rim.lsp.diagnostic.show_line_diagnostics(); vim.lsp.util.show_line_diagnostics()<CR>
|
||||
nnoremap <leader>vn :lua vim.lsp.diagnostic.goto_next()<CR>
|
||||
nnoremap <leader>vll :call LspLocationList()<CR>
|
||||
nnoremap <leader>va :lua require('telescope.builtin').lsp_code_actions(require('telescope.themes').get_cursor())<cr>
|
||||
|
@ -421,8 +425,6 @@ require('lualine').setup {
|
|||
-- nvim-lint
|
||||
require('lint').linters_by_ft = {
|
||||
markdown = {'vale'},
|
||||
clojure = {'clj-kondo'},
|
||||
python = {'black'}
|
||||
}
|
||||
|
||||
-- f_term
|
||||
|
@ -434,5 +436,6 @@ EOF
|
|||
'';
|
||||
};
|
||||
}
|
||||
)];
|
||||
)
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue