mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
- TMUX: Switched back to ctrl+b as leader
- VIM: Configurations better commented - NVIM: NVChad, LazyNvim, Old-Config removed - NVIM: Restarted and reconfigured from kickstart.nvim [WIP] - Dotfiles on $HOME removed from 160+ to 25. Most of them moved to $XDG_* directories - Shell: Added back p10k config - Shell: Autoremove brew left over applications - Kitty: Added bashrc & profiles for ssh kitten - Kitty: Custom tab-titles
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
" Make space-bar the leader-key
|
||||
let mapleader = " "
|
||||
let maplocalleader = " "
|
||||
|
||||
" Don't do anything on pressing space itself
|
||||
nnoremap <Space> <Nop>
|
||||
vnoremap <Space> <Nop>
|
||||
|
||||
" Disable left, right, up and down keys
|
||||
" In normal mode...
|
||||
nnoremap <Left> :echoe "Use h"<CR>
|
||||
@@ -13,14 +21,6 @@ inoremap <Down> <ESC>:echoe "Use j"<CR>
|
||||
" Unbind some useless/annoying default key bindings.
|
||||
nmap Q <Nop>
|
||||
|
||||
" Don't do anything on pressing space itself
|
||||
nnoremap <Space> <Nop>
|
||||
vnoremap <Space> <Nop>
|
||||
|
||||
" Make space-bar the leader-key
|
||||
let mapleader = " "
|
||||
let maplocalleader = " "
|
||||
|
||||
" Center the cursor when moving through document
|
||||
nnoremap <C-d> <C-d>zz
|
||||
nnoremap <C-u> <C-u>zz
|
||||
|
||||
Reference in New Issue
Block a user