07-21-2016, 07:42 PM
07-21-2016, 08:53 PM
http://vim.wikia.com/wiki/Indenting_source_code
My only question is: why would you want enabled globally?
TC
My only question is: why would you want enabled globally?
TC
07-21-2016, 09:03 PM
Thanks for the quick reply. I want to enable this globally as i dont use the tab key for nothingelse and i read in searches that different editors might interpret the tab differently and cause problems and so on.
Im all ears though on the best way to do this. All i want to do is use this when im pretending to code on wordpress.
Thanks
Im all ears though on the best way to do this. All i want to do is use this when im pretending to code on wordpress.
Thanks
07-21-2016, 09:48 PM
I assume you are speaking of posting code to WordPress. If so just use your native editor or vim, and use the css wrap code from there.
https://en.support.wordpress.com/code/po...urce-code/
Otherwise you can fool with the emacs, but you will run into unnecessary problems depending on what your system will see. I/E boot screen functions, and other minibuff functions will override your setting. Global is overkill. Just get your editor configured for the WP wrap code.
http://ergoemacs.org/emacs/emacs_tabs_sp...setup.html
I can't walk you through the WordPress setup, as I never use it, but I bet vim will work fine with it.
TC
https://en.support.wordpress.com/code/po...urce-code/
Otherwise you can fool with the emacs, but you will run into unnecessary problems depending on what your system will see. I/E boot screen functions, and other minibuff functions will override your setting. Global is overkill. Just get your editor configured for the WP wrap code.
http://ergoemacs.org/emacs/emacs_tabs_sp...setup.html
I can't walk you through the WordPress setup, as I never use it, but I bet vim will work fine with it.
TC