summaryrefslogtreecommitdiff
path: root/.vimrc
blob: 5d3a1ba1fbdc9b3181c8f5944306e9234a72fd41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
set termguicolors
colorscheme catppuccin_macchiato
syntax on

set nu
set relativenumber

set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab

set smartindent

set nohlsearch
set incsearch

set scrolloff=8
set signcolumn=no
set cursorline
set cursorlineopt=number

let mapleader = ' '

vnoremap <PageDown> :m '>+1<CR>gv=gv
vnoremap <PageUp> :m '<-2<CR>gv=gv

noremap <Up> gk
noremap <Down> gj

noremap J mzJ`z

noremap o o<Esc>
noremap O O<Esc>

noremap Q <nop>