For those who came from vim, can you tell me the equivalent settings and plugins for emacs?
"basic visual settings
set number
set linebreak
"text type settings
set encoding=utf-8
"Remapping keys
inoremap jk <Esc>
nnoremap j gj
nnoremap k gk
"to quickly open NERDTree filebrowser.
nnoremap <F5> :NERDTree<CR>
"to open files with external programs from paths written in vim.
nnoremap gF :!xdg-open <cfile><CR>
"to make Y behave similar to D and C
nnoremap Y y$
"to make a new line after the word without entering insert mode
nnoremap <leader>e a<CR><Esc>
"insert a new line without entering insert mode
nnoremap <leader>o o<Esc>k
nnoremap <leader>O O<Esc>j
"search settings
set hlsearch
set incsearch
"clipboard settings
set clipboard=unnamedplus
"for use of Vim plug plugin manager.
call plug#begin()
" To change the surroundings a text.
Plug 'https://github.com/tpope/vim-surround'
" A Vim Plugin for Lively Previewing LaTeX PDF Output
" Use this command to start the previewer :LLPStartPreview
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
Plug 'https://github.com/vimwiki/vimwiki'
"It is a file browser and does basic file ops.
Plug 'preservim/nerdtree'
"It highlights most movement commands like w,j,f,t,/ etc.Triggered by "leader twice plus the movement key.
Plug 'https://github.com/easymotion/vim-easymotion.git'
"enables completion with tab instead of control p.
Plug 'https://github.com/ervandew/supertab'
"To edit csv files in vim and display them nicely.
Plug 'chrisbra/csv.vim'
"To make org mode like tables in vim with spreadsheet capabilities.
Plug 'https://github.com/dhruvasagar/vim-table-mode'
"To use org mode of emacs in vim, but tables not supported and not maintained.
Plug 'jceb/vim-orgmode'
"It opens a calendar in vim which is read only, like in emacs.
Plug 'https://github.com/mattn/calendar-vim'
call plug#end()
"settings required by plugins.
"to use markdown in vimwiki instead of learning vimwiki syntax
let g:vimwiki_list = [{'path': '~/vimwiki/',
\ 'syntax': 'markdown', 'ext': '.md'}]
"to make markdown compatible tables in vim-table-mode plugin.
let g:table_mode_corner='|'
"Self defined commands which can be executed on vim command line.(must start "with caps)
"This is shortcut for quickly sourcing vimrc.
command Src source ~/.vimrc
"shortcut to delete entire file.
command Dal norm ggdG
"shortcut to copy entire file.
command Yal norm ggyG
command Erc vsplit ~/.vimrc
"to make presentations with pandoc using source markdown and then opening the pdf through external viewer.
command Mkppt :!pandoc % -t beamer -o output.pdf ; xdg-open output.pdf
"changing the default leader key which is "\"
let mapleader = "\<Space>"
"auto commands to do stuff based on certain events
"This inserts # when leader + c key is pressed in a python file.
autocmd filetype python nnoremap <leader>c I#<Esc>
autocmd filetype python nnoremap <leader>C ^x<Esc>
"saving macros or registers.
"macro for anki cloze deletion
let @b="f:a{{c1::jkA}}jkj0"