Tab = 4 spaces - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20) +--- Thread: Tab = 4 spaces (/showthread.php?tid=3166) |
Tab = 4 spaces - thoughtinstinct - 07-21-2016 Hi all I will like to permanently and everywhere for the tab to be 4 spaces. Can somebody help me with this please. Re: Tab = 4 spaces - trinidad - 07-21-2016 http://vim.wikia.com/wiki/Indenting_source_code My only question is: why would you want enabled globally? TC Re: Tab = 4 spaces - thoughtinstinct - 07-21-2016 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 Re: Tab = 4 spaces - trinidad - 07-21-2016 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/posting-source-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_space_indentation_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 |