Using 'jk' as escaping to normal mode

this is my init.vim file I use neovim. This issue has occurred even in regular terminal vim, even without all of my customizations and plug-ins running, as seen below.

set nocompatible "Needed by Vundle filetype off "Needed by Vundle set rtp+=~/.config/nvim/bundle/Vundle.vim "Add Vundle to runtime path

call vundle#begin() Plugin 'VundleVim/Vundle.vim' "Vundle Plugin 'vim-airline/vim-airline' "Cool statusline Plugin 'vim-airline/vim-airline-themes' "Airline themes Plugin 'Shougo/neocomplete.vim' "Tab-complete code Plugin 'Shougo/neosnippet.vim' "Snippet support Plugin 'Shougo/neosnippet-snippets' "Snippet list Plugin 'Yggdroot/indentline' "Indentation Guides " Plugin 'Shougo/context_filetype.vim' "Allow neosnippet to switch filetype on context " Plugin 'kien/ctrlp.vim' "Fuzzy file/buffer finding/switching " Plugin 'ludovicchabant/vim-gutentags' "ctag management " Plugin 'scrooloose/syntastic' "Syntax checker " Plugin 'tpope/vim-fugitive' "Useful git commands Plugin 'notpratheek/vim-luna' "Nice theme " Plugin 'https://notabug.org/SylvieLorxu/vim-betterK.git' "Improve K command Plugin 'scrooloose/nerdtree' "nerdtree file explorer call vundle#end()

set shortmess+=I

"Theming syntax enable filetype indent plugin on colorscheme luna-term let g:airline_theme='luna' let g:airline_powerline_fonts=1 "Requires powerline fonts! autocmd VimEnter * NERDTree set splitbelow set cursorline set number set autoindent set tabstop=4 set shiftwidth=4 set expandtab

let g:indentLine_enable = 1 let g:indentLine_color_term = 239
let g:indentLine_char = '|'

"Save as sudo with w!! (when lacking root) cmap w!! w !sudo tee % >/dev/null

"Force use of 256 colours set t_Co=256

""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""Key Mapping""""""""""""""""""""""""" """"""""""""""""""""""""""""""""""""""""""""""""""""""""" "

let mapleader = "<Space>"

"escape to normal mode inoremap jk <esc>

"autofill character "inoremap { {<CR>}<Esc>ko inoremap ( ()<Esc>i inoremap [ []<Esc>i inoremap " ""<Esc>i inoremap ' ''<Esc>i

" delete line and paste below current line nnoremap <leader>- ddp

" delete line and paste above current line nnoremap <leader>_ ddkP

"capitalize current word inoremap <leader><c-u> <esc>veUi nnoremap <leader><c-u> veU

" wrap word in single quotes nnoremap <leader>sq i'<esc>ea'<esc>

" wrap word in single quotes nnoremap <leader>dq i"<esc>ea"<esc>

" wrap word in parenthesis nnoremap <leader>paw i(<esc>ea)<esc>

" wrap beginning to end in parenthesis nnoremap <leader>pae i(<esc>$a)<esc>

" edit init.vim nnoremap <leader>ev :sp ~/.config/nvim/init.vim<cr>

"source init.vim nnoremap <leader>sv :source ~/.config/nvim/init.vim<cr>

"call terminal nnoremap <leader>t :sp term://bash<cr>A

"escape from terminal tnoremap <M-x> <C-\><C-n>

"call NERDtree nnoremap <leader>n :NERDTree<CR>

" remap navigational keys nnoremap <C-J> <C-W><C-J> nnoremap <C-K> <C-W><C-K> nnoremap <C-L> <C-W><C-L> nnoremap <C-H> <C-W><C-H>

nnoremap <M-h> <C-W>H nnoremap <M-j> <C-W>J nnoremap <M-k> <C-W>K nnoremap <M-l> <C-W>L

"resize vertically nnoremap _ :vertical resize -10<cr> nnoremap + :vertical resize +10<cr>

"resize horizontally nnoremap - :resize -10<cr> nnoremap = :resize +10<cr>

/r/vim Thread Parent