vim 菜单栏消失
内核升级到2.6.31-22-generic后,问题来了,vim的菜单栏无法显示了。
其实vim一开始就是默认不显示菜单栏的,这样有更多的空间可以编辑用,不过我这样的懒人就不习惯了,有些平时很少用的功能没有菜单还真不方便,生僻的命令又记不住。只好把菜单栏拉出来了。
记得以前是在vimrc里添上这么一句:
set guioptions+=m
然而这次居然行不通了,直接在cmd里
:set guioptions+=m
也是无济于事....
到网上搜了一下,原来是~/.gnome2/Vim在作怪。
cat ~/.gnome2/Vim [Placement] Dock=Toolbar\\0,0,0,0\\Menubar\\0,0,0,0 #貌似是gnome对窗口的配置 #改成下面的样子就好了 [Placement] Dock=Toolbar\\0,1,0,0\\Menubar\\0,0,0,0
另:把下面加入.vimrc中,可以快速的使用Ctrl+F2来切换工具栏和菜单栏的显示和关闭,网上找来的方法
"hide/show : toolbar(T), menubar(m) and right_scrollbar(r) map <silent> <C-F2> :if &guioptions =~# 'T' <Bar> \set guioptions-=T <Bar> \set guioptions-=m <Bar> \else <Bar> \set guioptions+=T <Bar> \set guioptions+=m <Bar>
2022年9月09日 01:09
Formative Assessment means not only an examination, it includes various aspects such as Examination in completed lessons, Reflections, Project work done on the allotted topic and Self also Prepared notes etc. AP SSC fa 4 Model Paper Candidates of Telugu Medium, English Medium & Urdu Medium of the AP State can download the AP 10th Class FA 4 Model Paper 2023 Pdf with answers for the regular exams conducted by the Directorate of Government Examinations, Andhra Pradesh.
2023年7月26日 23:23
Puede eliminar los resultados individuales del historial de búsqueda de la lista instantánea de la página de búsqueda de Google junto con Mi actividad de Google en todos los productos de Google en mi actividad google . Es esencial proteger nuestro historial de búsqueda y otras actividades de otros por motivos personales. Todos pueden usar la página Mi actividad de Google para eliminar una gran parte o la totalidad de su historial de búsqueda.
2023年7月27日 19:20
SEBA Follows CBSE Curriculum These Textbooks are Updated as per the Syllabus Prescribed by Assam Board. Students of Assam Class Should follow Prescribed Textbooks while Preparing for Exam. Our Team Refer to the Respective Subject Textbook while Preparing the Final Important questions. Students Best Practice Study Materiel about Assam 9th Textbooks 2024 are the Fact that they are so Comprehensible that SEBA 9th Class Books 2024 it does not require the aid of a Subject Literate.Board of Secondary Education, Assam commonly known as SEBA Regular organization High School Education, Assam State Textbook Production and Publication Corporation
2024年1月07日 01:37
JNANABHUMI AP provides a CBSE syllabus for all classes for the academic year 2024 has been designed as per the guidelines of the CBSE Board. The syllabus offers a conceptual background and lays the groundwork for the Class 10 Board exams. jnanabhumiap.in By visiting the page, students will find the downloadable pdf of the reduced CBSE 10th Syllabus along with the deleted portion of the syllabus for each subject. So, students are advised to prepare for the exam, as per the syllabus mentioned here.