~mlb/dotfiles

ref: 277f50b906d580cbcfe359079d0d42482a54890f dotfiles/nvim/conf/70-mappings.vim -rw-r--r-- 817 bytes
277f50b9Matías Larre Borges Updating plugin list 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
let mapleader = "\<Space>"

" floatterm {{{
nnoremap <silent> <F7> :FloatermToggle<CR>
inoremap <silent> <F7> <C-\><C-n>:FloatermToggle<CR>
tnoremap <silent> <F7> <C-\><C-n>:FloatermToggle<CR>
" }}}

" defx {{{
map <silent><F1> :Defx -columns=git:icons:filename:type -split=vertical -winwidth=50 -direction=topleft<CR>
nmap <silent><Leader>f :Defx -columns=git:icons:filename:type `expand('%:p:h')` -search=`expand('%:p')`<CR>
" }}}

" telescope {{{
nnoremap <silent> gf <cmd>lua require('telescope.builtin').git_files(require('telescope.themes').get_dropdown())<CR>
nnoremap <silent> gr <cmd>lua require('telescope.builtin').treesitter(require('telescope.themes').get_dropdown())<CR>
nnoremap <silent> <Leader>s <cmd>lua require('telescope.builtin').grep_string(require('telescope.themes').get_dropdown())<CR>
" }}}